Greetings, I hope you are well as well as your families.
Please if you could help me with this question.
I am starting to migrate a system that I have on clipper
I am using the menu called ownerdrw
The question is when selecting an option is there any way to disable that option or the menu that cannot be used until closing or returning from the selected option
thanks in advance
Español
Saludos, espero que esten bien al igual que sus familias.
Por favor si pudieran brindarme su ayuda con esta pregunta
Estoy comenzando a migrar un sistema que tengo en clipper
Estoy usando el menu que se llama ownerdrw
La pregunta es al momento de seleccionar una opcion hay alguna manera para desactivar esa opcion o el menu que no se pueda utilizar hasta cerrar o volver de la opcion selecciona
Las gracias anticipadas
A few minutes of your valuable time, for help please - Unos minutos de su valioso tiempo, para una ayuda por favor
- Jose Marte2
- Posts: 46
- Joined: Thu Nov 16, 2017 2:19 pm
- Location: República Dominicana
A few minutes of your valuable time, for help please - Unos minutos de su valioso tiempo, para una ayuda por favor
José Marte
Software & Servicios
Software & Servicios
Re: A few minutes of your valuable time, for help please - Unos minutos de su valioso tiempo, para una ayuda por favor
hi,
i use XbpMenuBar():isItemchecked() to enable/disable MenuItem.
i use XbpMenuBar():isItemchecked() to enable/disable MenuItem.
greetings by OHR
Jimmy
Jimmy
Re: A few minutes of your valuable time, for help please - Unos minutos de su valioso tiempo, para una ayuda por favor
Hi Joe
Are you using eXpress++ ?
It appear what you want is how to make a dialog MODAL
Joe
Are you using eXpress++ ?
It appear what you want is how to make a dialog MODAL
Joe
Re: A few minutes of your valuable time, for help please - Unos minutos de su valioso tiempo, para una ayuda por favor
DCMENUITEM has a WHEN clause:
If the WHEN-clause returns .F., the menu item can't be selected.
Code: Select all
DCMENUITEM 'Open File' PARENT oMyMenu ACTION {||lOpeningRuns := .T., DoTheDamnedFileOpening()} WHEN {||!lOpeningRuns}
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."