Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-12

checklistbox on XP

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrea Mauri

Hi,
I am trying to use checklistbox. On linux it seems to be drawn correctly but not on windows (I am trying it on WinXP).
The checkboxes in a checklistbox are smaller that the checkbox of a TCheckBox (fonts seem to be the same but boxes are smaller). Is it a bug? Andrea

Dr. Andrea Mauri, PhD Milano Chemometrics and QSAR Research Group Department of Environmental Sciences University of Milano-Bicocca P.zza della Scienza, 1 20126 Milano - Italy Tel: ++39 02 64482801 mailto: http://michem.disat.unimib.it/chm/

Reply by email

Paul Ishenin
to Andrea Mauri
Andrea Mauri wrote 5 lines
Hi, I am trying to use checklistbox. On linux it seems to be drawn correctly but not on windows (I am trying it on WinXP). The checkboxes in a checklistbox are smaller that the checkbox of a TCheckBox (fonts seem to be the same but boxes are smaller). Is it a bug?

ListBox item height is smaller than checkbox control height. So either checklistbox needs bigger item height or item checks must be smaller. Where is a bug?

Best regards,
Paul Ishenin.

Reply by email

Andrea Mauri
to Paul Ishenin

The problem is that CheckListBox on WinXP appears bigger on all the other applications.
So if lazarus want to build applications that looks native checks must be bigger.
regards,
andrea

Paul Ishenin ha scritto:

Show quoted text 22 lines
Andrea Mauri wrote: > Hi, > I am trying to use checklistbox. On linux it seems to be drawn correctly > but not on windows (I am trying it on WinXP). > The checkboxes in a checklistbox are smaller that the checkbox of a > TCheckBox (fonts seem to be the same but boxes are smaller). Is it a bug? > ListBox item height is smaller than checkbox control height. So either checklistbox needs bigger item height or item checks must be smaller. Where is a bug? Best regards, Paul Ishenin. _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Dr. Andrea Mauri, PhD Milano Chemometrics and QSAR Research Group Department of Environmental Sciences University of Milano-Bicocca P.zza della Scienza, 1 20126 Milano - Italy Tel: ++39 02 64482801 mailto: http://michem.disat.unimib.it/chm/

Reply by email

Andrea Mauri
to Paul Ishenin: ListBox item height is smaller than checkbox control height. So either checklistbox needs…

Anyway is it possible to change the ItemHeight property of TCheckListBox? I am not able to change it via object inspector. Andrea

Paul Ishenin ha scritto:

Show quoted text 22 lines
Andrea Mauri wrote: > Hi, > I am trying to use checklistbox. On linux it seems to be drawn correctly > but not on windows (I am trying it on WinXP). > The checkboxes in a checklistbox are smaller that the checkbox of a > TCheckBox (fonts seem to be the same but boxes are smaller). Is it a bug? > ListBox item height is smaller than checkbox control height. So either checklistbox needs bigger item height or item checks must be smaller. Where is a bug? Best regards, Paul Ishenin. _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Dr. Andrea Mauri, PhD Milano Chemometrics and QSAR Research Group Department of Environmental Sciences University of Milano-Bicocca P.zza della Scienza, 1 20126 Milano - Italy Tel: ++39 02 64482801 mailto: http://michem.disat.unimib.it/chm/

Reply by email