| |
|
|
- Page 1 - |
|
E.T. | in the Interpreter funktionierts:
SubProc Create.BigPicButton
Parameters Ziel&, Text$, PosX%, PosY%, wide%, Hoehe%, Icon&
var BigPicButton& = @control("Button",Text$,$50012200+$2000000,PosX%,PosY%,wide%,Hoehe%,Ziel&,100,%Hinstance)
Button_Refresh BigPicButton&, Icon&
Return BigPicButton&
ENDPROC
Proc Button_Refresh
Parameters Button&, Icon&
var Refresh_Button&=@control("Static","",$50000003,5,5,32,32,Button&,0,%Hinstance)
@Sendmessage(Refresh_Button&,$170,Icon& ,0)
ENDPROC
Windowstyle 16+8+2+512
Window 100,100
Window Title "ButtonTest" + " -- " + $ProfVer
UseIcon "A"
var Icon1& = @Create("hIcon","baum")
var Button& = @Create("BigPicButton",%HWnd,"Test- \nButton ",10,10,100,42,Icon1&)
waitinput
DeleteObject Icon1&
end
Compiliert GEHTS not:
Getestet with XProfan 11.2 / X2-R1 |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 11/16/10 ▲ |
|
|
|
| |
|
- Page 2 - |
|
|
Dieter Zornow | if You it richtigerweise so make, GEHTS too as Exe
SubProc Create.BigPicButton
Parameters Ziel&, Text$, PosX%, PosY%, wide%, Hoehe%, Icon&
var BigPicButton& = @control("Button",Text$,$50012200+$2000000,PosX%,PosY%,wide%,Hoehe%,Ziel&,100,%Hinstance)
Return BigPicButton&
ENDPROC
Proc Button_Refresh
Parameters Button&, Icon&
var Refresh_Button&=@control("Static","",$50000003,5,5,32,32,Button&,0,%Hinstance)
@Sendmessage(Refresh_Button&,$170,Icon& ,0)
ENDPROC
Windowstyle 16+8+2+512
Window 100,100
Window Title "ButtonTest" + " -- " + $ProfVer
UseIcon "A"
var Icon1& = @Create("hIcon","baum")
var Button& = @Create("BigPicButton",%HWnd,"Test- \nButton ",10,10,100,42,Icon1&)
Button_Refresh(button&,icon1&)
waitinput
DeleteObject Icon1&
end
|
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 11/16/10 ▲ |
|
|
|
|
| Rolf Koch (16.11.10)
and siehste Mario, therefore use I only The Exe and the Interpreter there not at me More.
would be in the drop but kontraproduktiv because if one code "fehlerhaft" is then ought to to the already know want. ^^ |
|
|
| |
|
|
|
Rolf Koch | Nunja, but he's Yes in the Interpreter perfect run and was accordingly angelogen of Interpreter ^^ |
|
|
| |
|
|
|
E.T. | @Dieter: Ah, The Order... so Have I Yes trouble first wech...
[OFFTOPIC]be indeed thick: Have ne Proc, where any Buttuns refresht go, only not The Loop installed... How well, the it The Nity gives...)[/OFFTOPIC]
remaining only yet The question: Why once so, once so. I shock me there on The Page of Rolf, the the Interpreter Nich always The (whole) truth shows. means still one bow ????
Rooolaaand hilf.. |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 11/16/10 ▲ |
|
|
|
|
| place you to you have a kaputten motor and behauptest now but, one the both Netzteile would "lügen", only because one the both Netzteile random whom motor short has run... ^^
here are both Netzteile heal but hold the motor (View source) not integrally intakt ...
OK, rice example but is indeed lulle... |
|
|
| |
|
|
|
E.T. | Blödes example, technical what gaaaaanz other... |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 11/16/10 ▲ |
|
|
|
|
| well well, a Have I yet... ^^
you have 2 Autos - one is gammy one is fix - properties beider Autos but deliberate chosen...
now "verlangst" You, that both Autos exakt on yourself place and yourself Order fall apart if you with a unrunden wheel kutscht. |
|
|
| |
|
|
|
Dieter Zornow | i think here's the trouble local and globale variables, but this is Yes only one small example the ärgerlichen differences between Runtime and Interpreter, is Yes since jeher different.
@Mario, with such Buttons is it often necessary to each Buttondruck one Showwindow(static&,0) showwindow(static&,1) anzuwenden, otherwise could the Static time behind the Button vanish. |
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 11/16/10 ▲ |
|
|
|
|
E.T. | example abgelehnt !!! Gib's still simply To: it's running not so, How desired / described / pseudo: means one BUG !!
I werf time an example andersrum to: I geb you one Proto- car to that testfahren, one super-6-Zylinder (the Interpreter (not Interceptor )). You testest, and testest, and testest...and sometime want You so one car. If you then feststellst, the z.B. the finished car only 5 Zylinder has and 6 Rückwärts- and only a Vorwärtsgang, would you still too say: "Das testing was Yes completely useless, if I then in the finished Variante what (completely) other get."
therefore be so did i the opinion, the Interpreter and EXE already the same make should... |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 11/16/10 ▲ |
|
|
|
|
E.T. | @Dieter: Habs moreover supra already correct and ash on my master strewed:
[OFFTOPIC]be indeed thick: Have ne Proc, where any Buttuns refresht go, only not The Loop installed... How well, the it The Nity gives...)[/OFFTOPIC]
but I say nevertheless thanks, without EUCH would I never on it come... |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 11/16/10 ▲ |
|
|
|
|
| as they the same make should would not with both testing. ^^
If then even because of the wanted differences one fehlerhafter code different carryed out becomes ists at a single blow one "Bug" in XProfan instead of fehlerhafter code? ^^ |
|
|
| |
|
|
|
E.T. | @IF: I mean, we lassens. our Ansichten walk there well still To far apart, if "das a the same How the others make should", but not power.
Nachtrag: otherwise ought to but already somewhere stand, the The Results in the Interpreter differently looks can as in the finished Program. then understand I but not, the one programs, before one these weitergibt, in the Interpreter "auf marrow and Niren" testing should, if then in the EXE still what other rauskommt... |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 11/16/10 ▲ |
|
|
|