Hola Amigos:
No encontre ningun ejemplo dentro de HMG o Minigui
del uso de la clausula When dentro de un @GET, Utilizo la Clausula
VALID variable>0 para no dejar que dejen en blanco la variable, necesito despues agregar una nueva condicion.
esto saque del "xHarbour Reference Documentation "
@...GET
Creates a Get object (entry field) and displays it to the screen
Syntax
@ <nRow>, <nCol> ;
[SAY <xSay> [PICTURE <cSayPict>] COLOR <cSayColor>] ;
GET <xVar> [PICTURE <cGetPict>] [COLOR <cGetColor>] ;
[WHEN <lWhen>] ;
[VALID <lValid> | RANGE <xMinVal>, <xMaxVal> ] ;
[MESSAGE <cMessage> ] ;
[SEND <msg>] ;
[GUISEND <msg>]
Alguno uso esta Clausula When o Message ?
gracias
DaNiElMaXiMiLiAnO
@ get [clausula When]
Moderator: Rathinagiri
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
@ get [clausula When]
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: @ get [clausula When]
danielmaximiliano wrote:Hola Amigos:
No encontre ningun ejemplo dentro de HMG ... @GET...
Hola DanielGoogle wrote:...found no examples in HMG or Phrase ... @ GET...
@ ... GET is a Harbour implementation and HMG have TEXTBOX instead of it.
Regarding WHEN and VALID clause:
- You can use "Input Mask" or "Format" string for validity check
- Check by program "WHEN" user can enter value to TEXTBOX. For example :
Code: Select all
if <xxx.variable> > 0
<formx.txbY. READONLY := .F.
else
<formx.txbY. READONLY := .T.
endif
--
Esgici
Viva INTERNATIONAL HMG
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: @ get [clausula When]
and ...
Alternatively, you can use single column, single row and noheaders grid including your text box. Because GRID control include VALID and WHEN clauses.
Saludos
--
Esgici
Alternatively, you can use single column, single row and noheaders grid including your text box. Because GRID control include VALID and WHEN clauses.
Saludos
--
Esgici
Viva INTERNATIONAL HMG
- mustafa
- Posts: 1162
- Joined: Fri Mar 20, 2009 11:38 am
- DBs Used: DBF
- Location: Alicante - Spain
- Contact:
Re: @ get [clausula When]
Hola danielmaximiliano
Mira estos Post sobre VALID haber si te sirven:
http://hmgforum.com/viewtopic.php?f=5&t=1243
y un ejemplo: http://hmgforum.com/viewtopic.php?f=15&t=1244
Un Saludo
Mustafa
Mira estos Post sobre VALID haber si te sirven:
http://hmgforum.com/viewtopic.php?f=5&t=1243
y un ejemplo: http://hmgforum.com/viewtopic.php?f=15&t=1244
Un Saludo
Mustafa
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: @ get [clausula When]
Gracias a todos por compartir su tiempo y experiencia.
de a poco voy refinando el programa implementando nuevas rutinas x ahora en modo consola, despues de funcione bien sin errores implementare GUI.
Saludos DaNiElMaXiMiLiAnO
de a poco voy refinando el programa implementando nuevas rutinas x ahora en modo consola, despues de funcione bien sin errores implementare GUI.
Saludos DaNiElMaXiMiLiAnO
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO