General information
Category:
Forms & Form designer
1. Why you use a button ?
However i try this, and it is ok for me.
You have other code that do some other operation.
>DEFINE MENU menuu IN WINDOW "Form1"
>DEFINE PAD m_file OF menuu PROMPT "File" COLOR SCHEME 3 ;
> KEY ALT+F, ""
>DEFINE PAD m_ind OF menuu PROMPT "Indicator" COLOR SCHEME 3 ;
> KEY ALT+I, ""
>DEFINE PAD m_cash OF menuu PROMPT "Cash Flow" COLOR SCHEME 3 ;
> KEY ALT+C, ""
>DEFINE PAD m_doc OF menuu PROMPT "Documente primare" COLOR SCHEME 3 ;
> KEY ALT+D, ""
>DEFINE PAD m_intr OF menuu PROMPT "Introduceri date" COLOR SCHEME 3 ;
> KEY ALT+I, ""
>DEFINE PAD m_curs OF menuu PROMPT "Curs de schimb" COLOR SCHEME 3 ;
> KEY ALT+k, ""
>DEFINE PAD m_soc OF menuu PROMPT "Societatea" COLOR SCHEME 3 ;
> KEY ALT+S, ""
>DEFINE PAD m_reg OF menuu PROMPT "Inregistrare" COLOR SCHEME 3 ;
> KEY ALT+I, ""
>DEFINE PAD m_exit OF menuu PROMPT "Iesire" COLOR SCHEME 3 ;
> KEY ALT+I, ""
>ON PAD m_file OF menuu ACTIVATE POPUP filee
>ON PAD m_ind OF menuu ACTIVATE POPUP indicator
>ON SELECTION PAD m_exit OF menuu set sysmenu to default
>
>DEFINE POPUP filee MARGIN RELATIVE SHADOW COLOR SCHEME 4
>DEFINE BAR 1 OF filee PROMPT "New"
>DEFINE BAR 2 OF filee PROMPT "Save"
>DEFINE BAR 3 OF filee PROMPT "Save As"
>DEFINE BAR 4 OF filee PROMPT "Open"
>
>DEFINE POPUP indicator MARGIN RELATIVE SHADOW COLOR SCHEME 4
>DEFINE BAR 1 OF indicator PROMPT "Lichiditate"
>DEFINE BAR 2 OF indicator PROMPT "Rentabilitate"
>DEFINE BAR 3 OF indicator PROMPT "Gestiune"
>DEFINE BAR 4 OF indicator PROMPT "Structura"
>DEFINE BAR 5 OF indicator PROMPT "Echilibru Financiar"
>
>this I have it on the load option of the form.And have a button with action "activate menu" when I click outside the menu it's disapering
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only