Hi
I Create one Graphic within GUI (Graph_UDF.au3)
.......
Global $Graphic2 = _Graph_Create($x_GUIstart, $y_2GUIstart, $cGraphWidthPixel, 88, $Const_SelectColor, 0xFFFFFF)
GUICtrlSetOnEvent($Graphic2[1], "Graphic2Click")
.......
In $Graphic2[1] is ControlID
This ControlID is from Graph_UDF.au3: GUICtrlCreateGraphic($iLeft, $iTop, $iWidth + 1, $iHeight + 1)
If I click on this Graphic function "Graphic2Click" is runing OK but if I plot on this graphic some lines or labels .... then Click on this $Graphic2 isn't possible anymore!
Why?
p.s.
I check with "Auitoit v3 Window Info" and ID for this Graphic is allways same!
Only Instance is different (before ploting 2...after ploting 26)
GUICtrlCreateGraphic .... plot ....Graphic1Click
Started by
microera
, Jan 15 2011 07:12 PM
1 reply to this topic
#1
Posted 15 January 2011 - 07:12 PM
#2
Posted 20 January 2011 - 09:09 PM
download:
http://freeweb.siol.net/js1234/Sony_red_button.txt
http://freeweb.siol.net/js1234/g1_tmp.au3
http://freeweb.siol.net/js1234/Graph_UDF_Joze.au3
run:
g1_tmp.au3
and click on all 4 Graphic (rectangle) for example..... in console windows allways see one of all fore activated Graphics:
$indexIR=1 $GraphicACTIVE=
...
But if you "load" Sony_red_button.txt:
File.....OpenLOG ..... load Sony_red_button.txt
we see Graphic1!
All OK!
But if we click on Graphic1 (above 1st graphic) then Graphic1Click NEVER happen!
Why?
p.s.
all other Graphic2Click (and3 and4) working OK!
p.s.2
I'm beginner on gui!
http://freeweb.siol.net/js1234/Sony_red_button.txt
http://freeweb.siol.net/js1234/g1_tmp.au3
http://freeweb.siol.net/js1234/Graph_UDF_Joze.au3
run:
g1_tmp.au3
and click on all 4 Graphic (rectangle) for example..... in console windows allways see one of all fore activated Graphics:
$indexIR=1 $GraphicACTIVE=
...
But if you "load" Sony_red_button.txt:
File.....OpenLOG ..... load Sony_red_button.txt
we see Graphic1!
All OK!
But if we click on Graphic1 (above 1st graphic) then Graphic1Click NEVER happen!
Why?
p.s.
all other Graphic2Click (and3 and4) working OK!
p.s.2
I'm beginner on gui!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users




