Re: VDC Menu
Maximilian Seidel <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Luis,
you cant setkeylabels when you are not allready in the input :)
OPEN WINDOW captura WITH FORM "./inv_matprimasxml"
INPUT BY NAME
pinv_matprimas.pricodigo,pinv_matprimas.pridescri,pinv_matprimas.pricuenta,pinv_unidades.unicodigo,pinv_matprimas.pritariva
WITHOUT DEFAULTS
*BEFORE INPUT
*
*CALL fgl_dialog_setkeylabel("f2","Terceros")*
ON KEY (F2)
RUN "./TERCEROS.4ae"
...
You can use it also in a before field to show the key(after field to
hidd) only for some fields for example :
BEFORE FIELD nr_waehrung
CALL fgl_dialog_setkeylabel("f21", "Kurs") # show
AFTER FIELD nr_waehrung
CALL fgl_dialog_setkeylabel("f21", "") # hide
Regards Max
--
Mit freundlichen Grüßen
Maximilian Seidel
VENTAS AG
Mexikoring 29
22297 Hamburg
Germany
Fon +49-40-32 33 34-0
Fax +49-40-32 33 34-38
[email protected]
www.ventas.de
VENTAS AG
Firmensitz: Mexikoring 29, 22297 Hamburg, Deutschland
Registergericht: Hamburg, HRB 80297
Ust.IdNr.: DE118686712
Vorstandsvorsitzender: Dipl.Ing. Alain Siverly
Aufsichtsratsvorsitzender: Dipl.Ing. Lothar Witt
Am 09.03.2012 17:05, schrieb Luis Carlos Díaz Otero:
> Thanks a lot, but it dows not work for me (Aubit 1.2.28 and the VDC
> was downladed as 24_02_12)
>
> I have done as you said
>
> CALL fgl_dialog_setkeylabel("f2","Terceros")
>
> and as in Four J`s:
>
> CALL fgl_setkeylabel("f2","Terceros")
>
> But, it refuses to work with any syntax
>
> The piece of program is:
>
> CALL fgl_dialog_setkeylabel("f2","Terceros")
> OPEN WINDOW captura WITH FORM "./inv_matprimasxml"
> INPUT BY NAME
> pinv_matprimas.pricodigo,pinv_matprimas.pridescri,pinv_matprimas.pricuenta,pinv_unidades.unicodigo,pinv_matprimas.pritariva
> WITHOUT DEFAULTS
> ON KEY (F2)
> RUN "./TERCEROS.4ae"
> ...
> ...
>
> Attached goes a screen capture of the program running the input, for
> illustration
>
> Cordial saludo:
>
> *_Luis Carlos Díaz Otero
>
> _*
> ------------------------------------------------------------------------
> *Hay 10 clases de personas en el mundo: las que saben de números
> binarios y las que no*
> ------------------------------------------------------------------------
> *_
> _Asesoramos y acompañamos su presentación de tareas y trabajos de
> matemáticas:
> *http://www.facebook.com/pages/Asesorias-Matematicas/142808622433724?created
>
> ------------------------------------------------------------------------
> *De:* Maximilian Seidel <[email protected]>
> *Para:* Luis Carlos Díaz Otero <[email protected]>;
> [email protected]
> *Enviado:* Viernes, marzo 9, 2012 3:07 A.M.
> *Asunto:* Re: [Aubit4gl-discuss] VDC Menu
>
> Hi Luis,
>
> you have to call fgl_dialog_setkeylabel to show a "ON KEY" in the
> actionmenu for example:
>
> CALL fgl_dialog_setkeylabel("f2", "Your Button Text")
> CALL fgl_dialog_setkeylabel("f5", "Your Button Text")
>
>
> Regards Max
>
> --
> Mit freundlichen Grüßen
>
> Maximilian Seidel
>
> VENTAS AG
> Mexikoring 29
> 22297 Hamburg
> Germany
>
> Fon +49-40-32 33 34-0
> Fax +49-40-32 33 34-38
>
> [email protected] <mailto:[email protected]>
> www.ventas.de <http://www.ventas.de>
>
> VENTAS AG
> Firmensitz: Mexikoring 29, 22297 Hamburg, Deutschland
> Registergericht: Hamburg, HRB 80297
> Ust.IdNr.: DE118686712
> Vorstandsvorsitzender: Dipl.Ing. Alain Siverly
> Aufsichtsratsvorsitzender: Dipl.Ing. Lothar Witt
>
>
>
> Am 09.03.2012 00:08, schrieb Luis Carlos Díaz Otero:
>> I have a default.4ad file for my graphic programs but if i have
>> ON KEY clauses in an input what have i to do in order the keys
>> are shown in the menu?
>> For example:
>> INPUT my_var FROM screen_field
>> ON KEY (F2)
>> do some stuff
>> ON KEY (F5)
>> do other stuff
>> BEFORE ....
>> ....
>> END INPUT
>>
>> What have i to do, in order to the menu in the screen be shown as:
>>
>> Accept
>> Cancel
>> F2
>> F5
>>
>> and not only
>>
>> Accept
>> Cancel
>>
>>
>> Cordial saludo:
>>
>> *_Luis Carlos Díaz Otero
>>
>> _*
>> ------------------------------------------------------------------------
>> *Hay 10 clases de personas en el mundo: las que saben de números
>> binarios y las que no*
>> ------------------------------------------------------------------------
>> *_
>> _Asesoramos y acompañamos su presentación de tareas y trabajos de
>> matemáticas:
>> *http://www.facebook.com/pages/Asesorias-Matematicas/142808622433724?created
>>
>>
>> ------------------------------------------------------------------------------
>> Virtualization& Cloud Management Using Capacity Planning
>> Cloud computing makes use of virtualization - but cloud computing
>> also focuses on allowing computing to be delivered as a service.
>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>>
>>
>> _______________________________________________
>> Aubit4gl-discuss mailing list
>> [email protected] <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
>
>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss