|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
FXMenuPane containing FXTextFieldAll,
I have an FXMenuPane containing an FXTextField: mNameMenu = new FXMenuPane(this); FXHorizontalFrame *name_frame = new FXHorizontalFrame(mNameMenu, LAYOUT_FILL_X | LAYOUT_FILL_Y, 0,0,0,0, 2,2,2,2, 0,0); mNameText = new FXTextField(name_frame, 10, this, ID_NAME_TEXT, TEXTFIELD_NORMAL | LAYOUT_FILL_X | LAYOUT_FILL_Y); mNameText->setEditable(); new FXButton(name_frame, "", mIcons["ok"], this, ID_NAME_ACCEPT, BUTTON_NORMAL); The FXMenuPane is correctly popping up on a right click, but the FXTextField is not editable. It almost appears that it is a focus problem. The mouse cursor changes as if text entry was possible, but the FXTextField does not change and no messages are fired. Is it possible to have an operational FXTextField within a FXMenuPane? My code is similar to the FOX test groupbox.cpp. The FXTextField in the groupbox.cpp example is not editable as well. Thanks, Chad ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Foxgui-users mailing list Foxgui-users@... https://lists.sourceforge.net/lists/listinfo/foxgui-users |
|
|
Re: FXMenuPane containing FXTextFieldUpdate -
It appears the FXMenuPane is capturing all of the key strokes instead of the FXTextField. This is most likely in place to handle hot keys and shortcuts. Is their a way to have the key strokes pass through the FXMenuPane to the FXTextField? Any help would be greatly appreciated. Thanks, Chad On Mon, Sep 7, 2009 at 1:38 PM, Chad Pettit <chad.pettit@...> wrote: All, ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Foxgui-users mailing list Foxgui-users@... https://lists.sourceforge.net/lists/listinfo/foxgui-users |
|
|
Re: FXMenuPane containing FXTextFieldFixed -
The FXMenuPane was capturing all of the key strokes. To correct this I captured the SEL_ENTER signal from the FXTextField and put a grabKeyboard() call in the handler. It is now working. Chad On Wed, Sep 9, 2009 at 1:04 AM, Chad Pettit <chad.pettit@...> wrote: Update - ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Foxgui-users mailing list Foxgui-users@... https://lists.sourceforge.net/lists/listinfo/foxgui-users |
| Free embeddable forum powered by Nabble | Forum Help |