Panel, title window buttons

Hi everybody
I wonder, i know its possible to add buttons, to the titlebar
of a title window, but i don't know how its done, can someone
explain me please? or send me a link with a tutorial. Also i'd like
to know if its possible to add another type of controls such as
input text or combobox.
Thanks

Here's a sample I've created, it just so happens I'm
currently working on something similiar.
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"
width="400" height="300">
<mx:XML id="cmbXML">
<root>
<item label="item one" />
<item label="item two" />
</root>
</mx:XML>
<mx:TitleWindow width="100%" height="100%"
layout="absolute" title="Title Window Test">
<mx:Button label="Button" right="10" bottom="10"/>
<mx:Button label="Button" right="83" bottom="10"/>
<mx:TextArea left="10" right="10" top="10"
bottom="40"/>
</mx:TitleWindow>
<mx:Image source="images/common/cross.png" right="10"
top="6"/>
<mx:ComboBox right="40" y="4"
dataProvider="{cmbXML.item}" labelField="@label" />
</mx:Canvas>
The only challenge is, as a popup window I can't drag it
around, i have to let the mouse drag event fall through to the
canvas somehow.

Similar Messages

  • Xfce4-panel's window buttons problems

    I am using xfce4,everything is OK.but the panel's plugin window buttons can't works well ,when I used after a while.
    normally,when I click the actual window button,the window will be minsize,when I click the button again, it will be back.
    but now,I click the button,the window will be minsize ,and it can not be back,however I click it.I must use alt+tab to switch the window.
    is it a bug?
    Last edited by maplebeats (2012-07-20 03:56:36)

    why?
    Last edited by archon (2010-09-30 12:02:41)

  • [SOLVED] xfce4-panel: Window buttons w/ Compiz

    Hi, I've successfully done the seemingly daunting task of getting Compiz to work with XFCE. Everything appears to be set up, got my keyboard shortcuts in order, etc., however I don't like how the xfce4-panel's Window Buttons behave when running with Compiz. I have specifically set it to show only windows visible on the current desktop (or as Compiz calls it, viewports), but it looks like it still shows all windows from all viewports, as if like it treats all of them as one big desktop. I know this is a problem with xfce4-panel still thinking that it's communicating with xfwm, but I do like to resolve this annoying pet peeve. Are there any workarounds/fixes/patches for this that could help? Thanks in advance.
    Last edited by qtcaroline22 (2012-05-17 01:53:05)

    I made Compiz autostart with XFCE using the first method with the Fusion icon as described in Compiz's Arch Wiki article. Perhaps it is related to Xfwm and Compiz running together? I'll try the other methods and see if the problem persists.
    EDIT: I fixed it, I just followed the solution on this thread and everything works perfectly now. Seems like Googling with the right keywords will almost always point me to the solution.
    Last edited by qtcaroline22 (2012-05-17 01:52:14)

  • How to set custom size of Close Button e.g. 32x32  of Title Window in Flex 4

    How to set custom size of Close Button e.g. 32x32 of Title Window in Flex 4?

    Hi
    Here is the code of the Button in the skin class of spark title window.
    <s:Button id="closeButton" skinClass="spark.skins.spark.TitleWindowCloseButtonSkin"
                              width="15" height="15" right="7" top="7" />
    So first change the default height and width from 15 to 32. Then in the Button Skin class i.e. spark.skins.spark.TitleWindowCloseButtonSkin change paths to modify the cross symbol.
    Hope this helps
    Rush-me

  • Title Window - Colors Panel

    I seem to have lost my colors panel in the title window.
    The first time I tried TITLER, I couldn't find the colors panel to change text colors, any colors, etc.  I then found it was behind the panel that TITLE opened in. OK, fine. There it was, behind it.
    Now, the colors panel is not behind it nor anywhere to be found. I even asked my dog if he maybe thought it was a bone and buried it (LOL-he just scratched and went to sleep).
    Where oh where did that color panel go, ohhhh, where oh where can it be?
    expeditionwest

    Bill -
    Nope, tried that then looked everywhere, undocked windows, everywhere - no colors panel.  WOW - CS5 is just a learning workhorse.
    With luck, an employee might show up and advise. That would be great customer service!
    expeditionwest

  • Can't use mouse cursor to select windows buttons from XFCE panel

    The problem is weird but the behaviour is as follow: let say I have sultiple copies of the same software (Firefox, for instance) or when the software has multiple windows (for example Pidgin main windows and its other chat windows). Wwhen I try to click on the windows button on the panel in order to navigate to the window of such software, it won't work. nothing would happen. On the other hand, Alt+Tab works for switching to the desired windows. However, if the software only has one window running (for example, only one Firefox window) then the mouse click would work.
    It's a strange behaviour and I got this on both my PC which runs Arch 64 bit and my laptops with Arch.
    Anyone has the same problem?

    Inxsible wrote:Do you have conky running -- maybe that's covering the panel and eating up the mouse click events. Try killing conky and see if it works.
    Nope, thx Inxsible but conky's not running here.
    Right-click menu (minimize, maximize, etc...) works for each of the multiple entries, though.
    I just tried recompiling xfce4-panel 4.8.2-1 with no apparent error message or any change in behaviour... hm...
    [Edit] It seems like a bug's already been filed: http://bugzilla.xfce.org/show_bug.cgi?id=7383
    Last edited by gnidam (2011-03-09 17:40:46)

  • [SOLVED] Where is application icon in window buttons XFCE panel locat?

    I installed chromium but in windows buttons panel, didn't show chromium icon. It's show an square icon instead chromium icon and seems like it's default icon.
    You see? Genymotion and Thunar and Panel Properties has a icon so where there icons location ?
    Last edited by Vahids (2015-05-27 05:53:52)

    I found this from source code:
    tmp = netk_window_get_icon(win);
    if (tmp) {
    gint w, h;
    w = gdk_pixbuf_get_width(tmp);
    h = gdk_pixbuf_get_height(tmp);
    if (w != 22 || h != 22) {
    icon = gdk_pixbuf_scale_simple(tmp, 24, 24, GDK_INTERP_BILINEAR);
    *unref_needed = g_list_prepend(*unref_needed, icon);
    } else {
    icon = tmp;
    but i didn't understand! seems like it's scaling some icon. but I don't know what icon.
    Last edited by Vahids (2015-05-27 05:30:11)

  • How to change Window panel title size?

    I have created a script with a gui Window with groups and panels. My issue is when I fire the script either from After Effects or from the Extendscript Debugger, I can't see the whole title on my panel title. Below is an image highlighting the error I am seeing.

    Some containers have a "titleLayout" property (search the JavaScript Tool Guide pdf) but i just checked and panels don't have it (only tabbedpanels).
    So the only way i bet is to make your panels wider, which you can do in many ways.
    For instance : myPanel.preferredSize = [130, -1];     // sets the preferredSize.width to 130
    Or myPanel.margins = [30,10,30,10];      // increase horizontal margins of the panel so it it becomes wider

  • Preview for XFCE Panel Window Buttons?

    In Windows 7 taskbar, theres a useful feature where mouse over taskbar icons (window buttons) will show a preview of the window, is there something like that for XFCE?  Its veryuseful especially when I have many PDF open and all icons look like a black piece of paper ...

    jiewmeng wrote:
    In Windows 7 taskbar, theres a useful feature where mouse over taskbar icons (window buttons) will show a preview of the window, is there something like that for XFCE?  Its veryuseful especially when I have many PDF open and all icons look like a black piece of paper ...
    http://i.imgur.com/FU9Ns.png
    If you use compiz fusion as your window manager, then yes. It has a realtime preview function (and has had for years prior to win7). xfwm doesn't.

  • Add 'window' button to TitledPane?

    Can anyone see a way to add a 'window' button or buttons (similar to the Windows maximise button) to the title bar of a TitledPane in an accordion? I assume it could be done visually with a StackPane but then only the topmost layer would be active. At the moment, I have an expand link in the TitledPane content. The purpose is to temporarily remove the TitledPane from its accordion and to display it in a larger size as a modal dialog. Thanks in advance ...

    What version of ID are you using? Live Preflight (Introduced in Version CS4) has links to all errors in the preflight panel itself.

  • Using a repeater to pass content to a title window

    Hi I have a repeater that has a button and the button open a title window component from flex
    So far I use the name property of the button to pass the title from the repeater to the title of the titlewindow
    here it is:
    Vimeo is the name of the repeater
    <mx:button name="{vimeo.currentItem.title}"
    on the as3:
    myWindow.title=event.currentTarget.name;
    so far I can open it with the names from the list.
    Also I have an html inside of the title window and I want to set its location from the parameters of the repeater
    so here is when it start to be hard to imagine a way to retrieve that information from the repeater and pass it to
    the location.
    here is my code.
    import mx.managers.PopUpManager;
                        import mx.containers.*;
                                  import mx.controls.Alert;
                                  import mx.rpc.events.FaultEvent;
                                  import mx.rpc.events.ResultEvent;
                                  import flsWindow;
                                  private function openWindowVimeo(event:MouseEvent):void{
                                            var myVimeoWindow:TitleWindow= TitleWindow(PopUpManager.createPopUp(this, flsWindow, true));
                                            myVimeoWindow.width=800;
                                            myVimeoWindow.height=600;
                                            myVimeoWindow.title = event.currentTarget.name;
                                            var myHtml:HTML= new HTML;
                                            myHtml.location={myText.text};//tried to make this happens though is always with error;
                                            myHtml.width=800;
                                            myHtml.height=600;
                                            myHtml.x=0;
                                            myHtml.y=0;
                                            myVimeoWindow.addChild(myHtml);
    <mx:HTTPService id="vimeoService" url="http://vimeo.com/api/v2/iglesiafls/videos.xml" resultFormat="e4x" fault="onFault(event)"/>
    <mx:XMLListCollection id="myVimeoList" source="{vimeoService.lastResult.video}"/>
              <mx:VBox width="340" height="334" x="699" y="422">
                        <mx:Repeater id="vimeo" dataProvider="{myVimeoList}">
                        <mx:Image source="{vimeo.currentItem.thumbnail_medium}" width="200" height="150"/>
                        <mx:Text id="titleText" text="{vimeo.currentItem.title}" color="#F5FBFC" fontSize="14" width="300"/>
                        <mx:Text text="{vimeo.currentItem.description}" color="#F5FAFB" width="300"/>
                        <mx:Text text="{vimeo.currentItem.url}" id="myText"/>
                        <mx:Button  name="{vimeo.currentItem.title}" label="ver video" click="openWindowVimeo(event)" enabled="true"/>
      </mx:Repeater>
      </mx:VBox>

    I have this resolved already

  • I am using my Description as the caption on Slideshow.  I ticked the "Show Title Slide" button and iPhoto physically copied the description on the first slide onto the end of every other description.  I can find no way of removing them other than by hand.

    I am using my Description as the caption on Slideshow.  I ticked the "Show Title Slide" button and iPhoto physically copied the description on the first slide onto the end of every other description.  I can find no way of removing them other than by hand.  Unticking the "show title slide" did not reverse the situation back to my required state.   Any ideas why it might have happened or how it might br resolved?   Regards, Marshfrog1

    Attached is Dennis Linam’s Audition – “Log File” and “Log – Last File”
    Contact information Dennis [email protected]
    Previous contact information with your organization (DURIM):
    Dennis - i just finished my audition trial and bought the subscription the 2014 version.
    created by durin in Audition CS5.5, CS6 & CC - View the full discussion 
    DURIM - Okay.  I would expect the "Cache Warning" message because your default directories would not be the same as the ones in the settings file I generated.
    If you go back to the "7.0" directory and open the "Logs" folder, can you copy the "Audition Log.txt" file and send it as an attachment to [email protected]?  We'll take a look in that logfile and see if it gives us more information about why this is failing now.
    Also, do you have any other Adobe applications installed on this machine, such as Premiere Pro?  If so, do they launch as expected or fail as well?
    I do have the trial Pro version of Adobe reader, but I have not activated it, because I fear the same thing will happen did it. I cannot afford to activate the subscription for that product and take the chance of it not working either. I depend on those two programs religiously. Here is the files that you requested. I appreciate any help you can give me to get this audition program started
    Audition Log- file
    Ticks = 16       C:\Program Files (x86)\Common Files\Adobe\dynamiclink\7.0\dynamiclinkmanager.exe
    Sent from Windows Mail

  • Calling a method in Parent component from Title Window

    Hi all,
    I have a parent component that opens up a Title window when I
    click a button. Now I want to call a method in that parent
    component from the Title window. How do I do this in Flex? Could
    anyone give me a hint please.
    Thank you in advance for the help

    "happybrowndog" <[email protected]> wrote in
    message
    news:gctmql$4t5$[email protected]..
    > That's goddamned ridiculous. What were Flex developers
    thinking that you
    > have
    > to write a custom event to call back to a parent
    component?? Other GUI
    > libraries such as WxWidgets, Fox, Qt, Delphi, MFC,
    WinForms, etc., all
    > allow
    > you to either call via a reference to the parent object
    or submit a
    > callback
    > function into the child object. That's just basic OO
    programming. Flex
    > is
    > looking more and more ridiculous and more like Swing -
    tons of unnecessary
    > coding to do simple things.
    You absolutely _do_ have the capability to pass in a
    reference to the parent
    component, or to create a "hard" reference to
    Application.application. But
    these are not recommended practices, because anything you
    create this way is
    then tied to an environment that implements those properties
    and methods.
    Q (3): I want to run a function in my main application from
    inside my
    custom component. But when I try to refer to myFunction() in
    that
    component, I get a compile time error Call to a possibly
    undefined function
    myFunction. How can I fix this?
    A: Your component has its own scope, so it doesn't know
    anything
    about the functions in the main file. You can get around this
    by directly
    referencing the main application scope like this:
    Application.application.myFunction(). However, this makes
    your component
    tightly coupled, which is a quick way of saying that your
    component is only
    usable in an application that has a myFunction() function in
    it. You're
    better off dispatching an event from your component and
    letting the
    application decide how to handle it. For more information,
    check out the
    following resources:
    http://www.adobe.com/devnet/flex/articles/loose_coupling.html
    http://www.adobe.com/devnet/flex/articles/graduating_pt1.html
    From
    http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf

  • Problem with the Titler WIndow

    Hello,
    I don't know how it happened but the titler window is saparate in 2 windows : one with the title by it self and the other one with tools and buttons.
    How is it possible to have only one window again ?
    Thank you for your help and regards,
    Daniel

    Daniel,
    Though I would expect it to be in Eddie's link, you only need to go to Window (in the Toolbar at the top of the GUI), choose Workspaces, and then choose one of the default Workspaces listed, or any Custom Workspaces that you might have created. Hint: once you get a Workspace set up the way you like it, do save it as a Custom Workspace. Can save a lot of time later. I have about a dozen, plus the ones that ship/install with PrPro and use them for different tasks.
    Good luck,
    Hunt

  • Title & Menu Buttons not working correctly on remote control/ set top player but work in preview.

    Title & Menu Buttons not working correctly on remote control/ set top player but work in encore preview. This only happens for a Blu ray project. When a user presses the menu button it should go to the previous menu they were on but it goes to the main menu. When they press the title button they should go to the main menu but it doesn't do anything. My DVD projects work as expected.I've tried creating a new "test" project with different footage and still get the same undesirable results.
    Overrides grayed out and set to "not set" for timelines and menus.Project settings and build are set to blu ray. Also I've noticed when I preview a Bluray project the preview window shows a red colored disc next to the Title button when viewing the timelines and green when playing the menus but not so for a DVD project it displays red if motion menus and or timelines are not rendered/encoded. I'm not using motion menus and all the media is encoded according to the project specs.
    I've searched this forum but couldn't find the answer. Any help or redirects to a solution would be appreciated. Working with CS5. Thanks.

    I found out on my Samsung Blu ray player the remote has a tools button on it that brings up audio, angle, chapter selection etc.and also title selection which is actually the menus and the timelines unfortunately. It's not as easy or direct as last menu selected but it's a workaround at least. I also plan on using a pop up menu. I'll let you know.

Maybe you are looking for

  • I think my ex has access to my Icloud, how can I check what devices has access to my Icloud?

    I think my ex boyfirend has access to my Icloud and has his iphone connected to my Imessages. How can I check what devices are all on my ID?

  • Vibration on nokia 5800

    Helloo I bought new nokia 5800,, and vibration one time work,,and now doesn't work,, does somebody have idea what is the problem ? plsss

  • JBO-33001: Cannot find the configuration file /common/bc4j.xcfg in the clas

    I m trying to insert into the database from a form.My action class is given below.The application compiles okey, the else option works fine, but during the if option I get the following error: oracle.jbo.JboException: JBO-33001: Cannot find the confi

  • 802.1x on wired LAN with ACS 4.2

    Hi all,             I am trying to get 802.1x fully working in our LAN. I get it working in lab test for all the PC,but we using IP phones which are not cisco and do not support 802.1x Authentication. I wanted to using MAC bypass for these phone;howe

  • N95-1 hook up to tv problem

    hi all. dont know if this is the right section to post this, but when i connect my n95 to my samsung hdtv and try to view my gallery, it terminates it and goes back to the menu. i can view some files, but then it terminates, whether i'm just scrollin