mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 19:59:14 +02:00
added but not implemented ComboBoxDropDown
git-svn-id: trunk@2225 -
This commit is contained in:
parent
796c579129
commit
36f75898ef
@ -2324,8 +2324,13 @@ begin
|
|||||||
SetComboBoxItemIndex(TComboBox(Sender),Integer(Data));
|
SetComboBoxItemIndex(TComboBox(Sender),Integer(Data));
|
||||||
|
|
||||||
csListBox :
|
csListBox :
|
||||||
gtk_list_select_item(PGtkList(GetWidgetInfo(Pointer(Handle),
|
if Integer(Data)>=0 then
|
||||||
True)^.ImplementationWidget), Integer(Data));
|
gtk_list_select_item(
|
||||||
|
PGtkList(GetWidgetInfo(Pointer(Handle),True)^.ImplementationWidget),
|
||||||
|
Integer(Data))
|
||||||
|
else
|
||||||
|
gtk_list_unselect_all(
|
||||||
|
PGtkList(GetWidgetInfo(Pointer(Handle),True)^.ImplementationWidget));
|
||||||
|
|
||||||
csCListBox:
|
csCListBox:
|
||||||
gtk_clist_select_row(PGtkCList(GetWidgetInfo(Pointer(Handle),
|
gtk_clist_select_row(PGtkCList(GetWidgetInfo(Pointer(Handle),
|
||||||
@ -7214,6 +7219,9 @@ end;
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.352 2003/04/11 17:10:20 mattias
|
||||||
|
added but not implemented ComboBoxDropDown
|
||||||
|
|
||||||
Revision 1.351 2003/04/11 12:48:07 mattias
|
Revision 1.351 2003/04/11 12:48:07 mattias
|
||||||
fixed gtk warning on setting item height
|
fixed gtk warning on setting item height
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user