Formßt:
form.Set_source(var source : string);
Parametry:
Source | textovß definice formulß°e |
Popis
Metoda umo₧nφ formulß°ovΘ prom∞nnΘ deklarovanΘ v programu bez popisu nastavit svojφ definici - tφmto zp∙sobem lze pracovat s formulß°i, jejich₧ definice nejsou nikde ulo₧enΘ.
Syntaxi definice formulß°e zφskßte nejlΘpe tak, ₧e si formulß° p°edem "naneΦisto" vytvo°φte ve v²vojovΘm prost°edφ a jeho textovou definici pou₧ijete.
P°φklad:
var novyform : form; source : string[2000]; begin source := "a DBDIALOG 66 52 291 319 " "STYLE 17563712 " "HDFTSTYLE 7483392 " "_STYLE3 4 " "BACKGROUND *12632256 " "FONT 8 238 34 ""MS Sans Serif"" " "BEGIN " " LTEXT 3,40,36 146 141 65569 0 "
" BPICTURE `ModrΘ kuliΦky` "
"END"; novyform.Set_source(source); novyform.Open(nil); ...
Obdoba v jazyce:
Nenφ