Πέμπτη, 11 Απριλίου 2019

Revision 17 Version 9.8

Restore a change in version 9.7 rev 21+, which broke calling "move" method for user forms, by code. Because alternative statements do the right job, this fault stayed there for some revisions.


Code which move and resize window without use the "move" method (but internal use direct call to the proper move method). This method also center the window (the semi colon specify this)

declare form1 form
Layer Form1 {
 window 16, 15000,12000;
 cls #333333
}
method form1, "show",1
declare form1 nothing


And this is the broken code which now works. This code include the change of form's caption (is optional for this example, may excluded).


declare form1 form
with form1,"title","mytitle"
method form1, "move", 100,100,10000,8000
method form1, "show", 1
declare form1 nothing

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου