Search found 4 matches

by schallweller
Sat Aug 10, 2013 2:32 pm
Forum: Feature Requests and Wishlists
Topic: Dialog - Get Gadget/Window XML Node
Replies: 6
Views: 2668

Re: Dialog - Get Gadget/Window XML Node

I think now I got you... you mean for example by iterating recursively through the tree and storing the elements addresses that have a "name" attributes to a map. Ok, I just thought there would be another way. Not that it would be a problem, i was just playing around and thinking about the new ...
by schallweller
Sat Aug 10, 2013 2:18 pm
Forum: Feature Requests and Wishlists
Topic: Dialog - Get Gadget/Window XML Node
Replies: 6
Views: 2668

Re: Dialog - Get Gadget/Window XML Node

It's not that I want to modify the Gadget.... it's about for example storing additional data to the gadget. Unknown xml Attributes seem to be ignored.. so i don't see any problem in adding additional attributes to the node. Therefore I only want to know the XML-NODE Address in order to read out the ...
by schallweller
Sat Aug 10, 2013 11:27 am
Forum: Feature Requests and Wishlists
Topic: Dialog - Get Gadget/Window XML Node
Replies: 6
Views: 2668

Re: Dialog - Get Gadget/Window XML Node

Hmm, I don't know if you understood my request or if i just did not understand your advice.

Example XML ( look at Button1 - attribute: customtext - as example )

<?xml version="1.0" encoding="utf-8"?>
<window name="win_main" width="600" height="400" text="Main Window">
<gridbox columns="2 ...
by schallweller
Sat Aug 10, 2013 8:17 am
Forum: Feature Requests and Wishlists
Topic: Dialog - Get Gadget/Window XML Node
Replies: 6
Views: 2668

Dialog - Get Gadget/Window XML Node

Is there a way to get the XML Node Pointer from the Gadget/Window?
Something like GetDialogGadgetXMLNode(#Dialog,Gadget$)

So you could add custom attributes to the Gadget that can, for example, be processed in the eventprocedure. Also you could change the color or the appearance in a custom way ...