Re: VDC images

Daniel Kroker <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
Hi again,

My small example works for me:

MAIN

CALL ui.Interface.loadActionDefaults("default")
CALL ui.Interface.LoadStyles("default")
CALL ui.Interface.setText("Input Example")

OPEN WINDOW w_1 WITH FORM "m_input"

MENU "Navigation"
    COMMAND "Ok"
    COMMAND "Hide"
    COMMAND "Show"
    COMMAND "Edit"
    COMMAND "Exit"
       EXIT MENU
END MENU


END MAIN

and default.4ad:

<ActionDefaultList>
    <ActionDefault name="edit" text="Edit" image="korrigieren.png" />
    <ActionDefault name="exit" text="Exit" image="escape.png" 
acceleratorName="Escape" />
    <ActionDefault name="show" text="Show" image="suchen.png" />
    <ActionDefault name="hide" text="Hide" image="loeschen.png" />

    <ActionDefault name="accept" text="Accept" image="ja.png" />
    <ActionDefault name="cancel" text="Cancel" image="nein.png" />
</ActionDefaultList>

Testet with the latest Client form Website.


Am 16.07.2012 14:25, schrieb Bothwell Watadza:
>
> Hi
> my action defaults looks like this:
>
> <ActionDefaultList>
> <ActionDefault name="ok" text="Ok" image="ok.png"/>
> *<ActionDefault name="test_cmd" text="Testing" image="ok.png"/>*
> <ActionDefault name="exit" text="Exit" image="stop.png"/>
> </ActionDefaultList>
>
>
> The image ok.png exists in C:\Program Files\VENTAS.software\VDC\pics 
> its showing on the first button. but
> on the second button it does not show. but if I create an image called 
> test_cmd.png then that image will show. Its only showing images that 
> match name attributes.
> Thanks again
> I shall caring testing ...
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.