Hi all,
is it possible to sort radiogroup's items at runtime? At designtime there is the button on radiogroup -> items -> sort, but at runtime I can't find it. (Of course, without doing it manually with a sorting algorithm)
Thanks,
Kjow

Mailing lists / lazarus / 2011-03
8 messages · 5 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi all,
is it possible to sort radiogroup's items at runtime? At designtime there is the button on radiogroup -> items -> sort, but at runtime I can't find it. (Of course, without doing it manually with a sorting algorithm)
Thanks,
Kjow
2011/3/18 Kjow :
No way?
Kjow
No. You have to do it manually.
Mattias
2011/3/25 Mattias Gaertner :
No. You have to do it manually.
Ok, thanks.
Kjow
is it possible to sort radiogroup's items at runtime? At designtime there is the button…
hello:
i have a medical app. with TDbf were it is used a lot of RadioGroups and CheckBox. When call Insert for a new patient, all this RadioGroups and CheckBox appears "Cheched" as default, but it is preferred to appear as "unchecked" and lets the doctors to check or not when filling the form.
if this is possible, i will appreciate any help to do it.
Thanks in advance,
Ing. H?ctor F. Fiandor Rosario
How can anybody help you without code ? If you think it's lazarus problem then please open an issue about it and attach project example which triggers your problem.
zeljko
hello: i have a medical app. with TDbf were it is used a lot of RadioGroups and CheckBox.…
Have you have set ItemIndex to your preferred value in the Object Inspector (or in initialization code)?
Do you still find display defaults differ from what you have set?
H
Dear Mr. Howard and Zeljko:
thanks for your kindly answer.
Really, my probles is with the DBCheckBox.
I have a form with a PageControl with 9 tabSheets for the control of patients.
in many of this tabSheets i have used DBCheckBox
When i have a new patient, i need to "insert" a new set of TabSheets. I press the "+" in the navigator bar, and all the CheckBoxes linked to the fields of the new record appear as "checked". The operator who is intoruducing the data (generally an especialist) need to "unckeck" the CheckBoxes that no apply to the new record (that are the more quantity compared with the CheckBoxes that apply) before "post".
In the ObjectInspector i have setted the "Valuecheched" as "true" and the "ValueUnckecked" as "false", and for the "old r prior" records it pretty works.
Really, i dont know if this if sufficient. With the DBRadioGrour there are no problesm, because the defalut can be setted by the ItemIndex=-1.
thanks again and awainting yours comments
Ing. H?ctor F. Fiandor Rosario