Forum > FV/Textmode IDE

TDialog GetData(<recordob>); - what is the Format for ?


I have this TDialog.GetData record, to get/set the fields on a dialog form.

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---TParameterData = record  startPrime: String[250];  endPrime  : String[250];  indexPrime: Char;  forceStart: Char;end; 
- I have two PInputLine
- I have two PCheckBoxes
- I have three PButton

- I can read the first input line content
- I can read the second input line content
- I can read the first check-box state true/false (when I use Boolean as type)

- I can *not* read the second check-box state, it will be always False

So, how can I get/set field data from TDialog's ?

I fiddle it out.
Either, you (me) sub class the parent class, and react/access the events and values by this derivated class, or you access the field values directly.
The values can be differ:

PStaticText => .Text^ := 'foo';
PInoutLine => .data^ := 'bar';
PCheckBoxes => .value := <true> or <false>;


[0] Message Index

Go to full version