In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

TMenu.

Xailer professional forum in English
Responder
pjmfelix
Mensajes: 61
Registrado: Jue Abr 27, 2006 1:23 pm

TMenu.

Mensaje por pjmfelix »

Hi.
I have this in the FormInitialize:
::oMenu1:aItems[2]:lEnabled := .F.
::oMenu1:aItems[3]:lEnabled := .F.
::oMenu1:aItems[4]:lEnabled := .F.
::oMenu1:aItems[5]:lEnabled := .F.
only the ::oMenu1:aItems[1] is enabled by default to force the user select
one department.
After the select, i make this
::oMenu1:aItems[2]:lEnabled := .T.
::oMenu1:aItems[3]:lEnabled := .T.
::oMenu1:aItems[4]:lEnabled := .T.
::oMenu1:aItems[5]:lEnabled := .T.
but the MenuItems continue disable, only after pass the cursor in the menu
item, he pass to enable.
What is necessary make ?
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TMenu.

Mensaje por ignacio »

Paulo,
When you click on any menu option the menu itself should disappear. When you
open again the menu, all the menu items should be enabled. I have just
tested and it seems to work right.
Please send us a small sample to reproduce the error or just modify the menu
sample to reproduce the bug.
Regards,
"Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
news:4450a9a3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Hi.
>
> I have this in the FormInitialize:
>
> ::oMenu1:aItems[2]:lEnabled := .F.
> ::oMenu1:aItems[3]:lEnabled := .F.
> ::oMenu1:aItems[4]:lEnabled := .F.
> ::oMenu1:aItems[5]:lEnabled := .F.
>
> only the ::oMenu1:aItems[1] is enabled by default to force the user select
> one department.
>
> After the select, i make this
>
> ::oMenu1:aItems[2]:lEnabled := .T.
> ::oMenu1:aItems[3]:lEnabled := .T.
> ::oMenu1:aItems[4]:lEnabled := .T.
> ::oMenu1:aItems[5]:lEnabled := .T.
>
> but the MenuItems continue disable, only after pass the cursor in the menu
> item, he pass to enable.
>
> What is necessary make ?
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

TMenu.

Mensaje por NoName »

Paulo,
When you click on any menu option the menu itself should disappear. When you
open again the menu, all the menu items should be enabled. I have just
tested and it seems to work right.
Please send us a small sample to reproduce the error or just modify the menu
sample to reproduce the bug.
Regards,
"Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
news:4450a9a3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Hi.
>
> I have this in the FormInitialize:
>
> ::oMenu1:aItems[2]:lEnabled := .F.
> ::oMenu1:aItems[3]:lEnabled := .F.
> ::oMenu1:aItems[4]:lEnabled := .F.
> ::oMenu1:aItems[5]:lEnabled := .F.
>
> only the ::oMenu1:aItems[1] is enabled by default to force the user select
> one department.
>
> After the select, i make this
>
> ::oMenu1:aItems[2]:lEnabled := .T.
> ::oMenu1:aItems[3]:lEnabled := .T.
> ::oMenu1:aItems[4]:lEnabled := .T.
> ::oMenu1:aItems[5]:lEnabled := .T.
>
> but the MenuItems continue disable, only after pass the cursor in the menu
> item, he pass to enable.
>
> What is necessary make ?
>
>
pjmfelix
Mensajes: 61
Registrado: Jue Abr 27, 2006 1:23 pm

TMenu.

Mensaje por pjmfelix »

Ok, there is the sample.
Thanks.
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:4450e1f2$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Paulo,
>
> When you click on any menu option the menu itself should disappear. When
> you
> open again the menu, all the menu items should be enabled. I have just
> tested and it seems to work right.
>
> Please send us a small sample to reproduce the error or just modify the
> menu
> sample to reproduce the bug.
>
> Regards,
>
> "Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
> news:4450a9a3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Hi.
>>
>> I have this in the FormInitialize:
>>
>> ::oMenu1:aItems[2]:lEnabled := .F.
>> ::oMenu1:aItems[3]:lEnabled := .F.
>> ::oMenu1:aItems[4]:lEnabled := .F.
>> ::oMenu1:aItems[5]:lEnabled := .F.
>>
>> only the ::oMenu1:aItems[1] is enabled by default to force the user
>> select
>> one department.
>>
>> After the select, i make this
>>
>> ::oMenu1:aItems[2]:lEnabled := .T.
>> ::oMenu1:aItems[3]:lEnabled := .T.
>> ::oMenu1:aItems[4]:lEnabled := .T.
>> ::oMenu1:aItems[5]:lEnabled := .T.
>>
>> but the MenuItems continue disable, only after pass the cursor in the
>> menu
>> item, he pass to enable.
>>
>> What is necessary make ?
>>
>>
>
>


Attached files Menu_LisEsp_X.zip (18.4 KB)Â
pjmfelix
Mensajes: 61
Registrado: Jue Abr 27, 2006 1:23 pm

TMenu.

Mensaje por pjmfelix »

Ok, there is the sample.
Thanks.
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:4450e1f2$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Paulo,
>
> When you click on any menu option the menu itself should disappear. When
> you
> open again the menu, all the menu items should be enabled. I have just
> tested and it seems to work right.
>
> Please send us a small sample to reproduce the error or just modify the
> menu
> sample to reproduce the bug.
>
> Regards,
>
> "Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
> news:4450a9a3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Hi.
>>
>> I have this in the FormInitialize:
>>
>> ::oMenu1:aItems[2]:lEnabled := .F.
>> ::oMenu1:aItems[3]:lEnabled := .F.
>> ::oMenu1:aItems[4]:lEnabled := .F.
>> ::oMenu1:aItems[5]:lEnabled := .F.
>>
>> only the ::oMenu1:aItems[1] is enabled by default to force the user
>> select
>> one department.
>>
>> After the select, i make this
>>
>> ::oMenu1:aItems[2]:lEnabled := .T.
>> ::oMenu1:aItems[3]:lEnabled := .T.
>> ::oMenu1:aItems[4]:lEnabled := .T.
>> ::oMenu1:aItems[5]:lEnabled := .T.
>>
>> but the MenuItems continue disable, only after pass the cursor in the
>> menu
>> item, he pass to enable.
>>
>> What is necessary make ?
>>
>>
>
>


Attached files Menu_LisEsp_X.zip (18.4 KB)Â
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TMenu.

Mensaje por ignacio »

Paulo,
Thank you very much. Problem fixed. Until we publish the next release you
can fix it adding this line after the change of menu items state:
DrawMenuBar( ::Handle )
Regards,
"Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
news:[email=4450f04e@ozsrvnegro.ozlan.local...]4450f04e@ozsrvnegro.ozlan.local...[/email]
> Ok, there is the sample.
> Thanks.
>
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
> news:4450e1f2$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Paulo,
>>
>> When you click on any menu option the menu itself should disappear. When
>> you
>> open again the menu, all the menu items should be enabled. I have just
>> tested and it seems to work right.
>>
>> Please send us a small sample to reproduce the error or just modify the
>> menu
>> sample to reproduce the bug.
>>
>> Regards,
>>
>> "Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
>> news:4450a9a3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Hi.
>>>
>>> I have this in the FormInitialize:
>>>
>>> ::oMenu1:aItems[2]:lEnabled := .F.
>>> ::oMenu1:aItems[3]:lEnabled := .F.
>>> ::oMenu1:aItems[4]:lEnabled := .F.
>>> ::oMenu1:aItems[5]:lEnabled := .F.
>>>
>>> only the ::oMenu1:aItems[1] is enabled by default to force the user
>>> select
>>> one department.
>>>
>>> After the select, i make this
>>>
>>> ::oMenu1:aItems[2]:lEnabled := .T.
>>> ::oMenu1:aItems[3]:lEnabled := .T.
>>> ::oMenu1:aItems[4]:lEnabled := .T.
>>> ::oMenu1:aItems[5]:lEnabled := .T.
>>>
>>> but the MenuItems continue disable, only after pass the cursor in the
>>> menu
>>> item, he pass to enable.
>>>
>>> What is necessary make ?
>>>
>>>
>>
>>
>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

TMenu.

Mensaje por NoName »

Paulo,
Thank you very much. Problem fixed. Until we publish the next release you
can fix it adding this line after the change of menu items state:
DrawMenuBar( ::Handle )
Regards,
"Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
news:[email=4450f04e@ozsrvnegro.ozlan.local...]4450f04e@ozsrvnegro.ozlan.local...[/email]
> Ok, there is the sample.
> Thanks.
>
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
> news:4450e1f2$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Paulo,
>>
>> When you click on any menu option the menu itself should disappear. When
>> you
>> open again the menu, all the menu items should be enabled. I have just
>> tested and it seems to work right.
>>
>> Please send us a small sample to reproduce the error or just modify the
>> menu
>> sample to reproduce the bug.
>>
>> Regards,
>>
>> "Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
>> news:4450a9a3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Hi.
>>>
>>> I have this in the FormInitialize:
>>>
>>> ::oMenu1:aItems[2]:lEnabled := .F.
>>> ::oMenu1:aItems[3]:lEnabled := .F.
>>> ::oMenu1:aItems[4]:lEnabled := .F.
>>> ::oMenu1:aItems[5]:lEnabled := .F.
>>>
>>> only the ::oMenu1:aItems[1] is enabled by default to force the user
>>> select
>>> one department.
>>>
>>> After the select, i make this
>>>
>>> ::oMenu1:aItems[2]:lEnabled := .T.
>>> ::oMenu1:aItems[3]:lEnabled := .T.
>>> ::oMenu1:aItems[4]:lEnabled := .T.
>>> ::oMenu1:aItems[5]:lEnabled := .T.
>>>
>>> but the MenuItems continue disable, only after pass the cursor in the
>>> menu
>>> item, he pass to enable.
>>>
>>> What is necessary make ?
>>>
>>>
>>
>>
>
>
>
pjmfelix
Mensajes: 61
Registrado: Jue Abr 27, 2006 1:23 pm

TMenu.

Mensaje por pjmfelix »

Thanks ! and continue with excelent work with xailer.
Regards.
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:445105b7$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Paulo,
>
> Thank you very much. Problem fixed. Until we publish the next release you
> can fix it adding this line after the change of menu items state:
>
> DrawMenuBar( ::Handle )
>
> Regards,
>
> "Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
> news:[email=4450f04e@ozsrvnegro.ozlan.local...]4450f04e@ozsrvnegro.ozlan.local...[/email]
>> Ok, there is the sample.
>> Thanks.
>>
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>> news:4450e1f2$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Paulo,
>>>
>>> When you click on any menu option the menu itself should disappear. When
>>> you
>>> open again the menu, all the menu items should be enabled. I have just
>>> tested and it seems to work right.
>>>
>>> Please send us a small sample to reproduce the error or just modify the
>>> menu
>>> sample to reproduce the bug.
>>>
>>> Regards,
>>>
>>> "Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
>>> news:4450a9a3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>> Hi.
>>>>
>>>> I have this in the FormInitialize:
>>>>
>>>> ::oMenu1:aItems[2]:lEnabled := .F.
>>>> ::oMenu1:aItems[3]:lEnabled := .F.
>>>> ::oMenu1:aItems[4]:lEnabled := .F.
>>>> ::oMenu1:aItems[5]:lEnabled := .F.
>>>>
>>>> only the ::oMenu1:aItems[1] is enabled by default to force the user
>>>> select
>>>> one department.
>>>>
>>>> After the select, i make this
>>>>
>>>> ::oMenu1:aItems[2]:lEnabled := .T.
>>>> ::oMenu1:aItems[3]:lEnabled := .T.
>>>> ::oMenu1:aItems[4]:lEnabled := .T.
>>>> ::oMenu1:aItems[5]:lEnabled := .T.
>>>>
>>>> but the MenuItems continue disable, only after pass the cursor in the
>>>> menu
>>>> item, he pass to enable.
>>>>
>>>> What is necessary make ?
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
pjmfelix
Mensajes: 61
Registrado: Jue Abr 27, 2006 1:23 pm

TMenu.

Mensaje por pjmfelix »

Thanks ! and continue with excelent work with xailer.
Regards.
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
news:445105b7$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Paulo,
>
> Thank you very much. Problem fixed. Until we publish the next release you
> can fix it adding this line after the change of menu items state:
>
> DrawMenuBar( ::Handle )
>
> Regards,
>
> "Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
> news:[email=4450f04e@ozsrvnegro.ozlan.local...]4450f04e@ozsrvnegro.ozlan.local...[/email]
>> Ok, there is the sample.
>> Thanks.
>>
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escreveu na mensagem
>> news:4450e1f2$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>> Paulo,
>>>
>>> When you click on any menu option the menu itself should disappear. When
>>> you
>>> open again the menu, all the menu items should be enabled. I have just
>>> tested and it seems to work right.
>>>
>>> Please send us a small sample to reproduce the error or just modify the
>>> menu
>>> sample to reproduce the bug.
>>>
>>> Regards,
>>>
>>> "Paulo Jorge M. Félix" <pjmfelix@sisbit.pt> escribió en el mensaje
>>> news:4450a9a3$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>>>> Hi.
>>>>
>>>> I have this in the FormInitialize:
>>>>
>>>> ::oMenu1:aItems[2]:lEnabled := .F.
>>>> ::oMenu1:aItems[3]:lEnabled := .F.
>>>> ::oMenu1:aItems[4]:lEnabled := .F.
>>>> ::oMenu1:aItems[5]:lEnabled := .F.
>>>>
>>>> only the ::oMenu1:aItems[1] is enabled by default to force the user
>>>> select
>>>> one department.
>>>>
>>>> After the select, i make this
>>>>
>>>> ::oMenu1:aItems[2]:lEnabled := .T.
>>>> ::oMenu1:aItems[3]:lEnabled := .T.
>>>> ::oMenu1:aItems[4]:lEnabled := .T.
>>>> ::oMenu1:aItems[5]:lEnabled := .T.
>>>>
>>>> but the MenuItems continue disable, only after pass the cursor in the
>>>> menu
>>>> item, he pass to enable.
>>>>
>>>> What is necessary make ?
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
Responder