Hello Everybody,
first of all, thank you for Purebasic and Form Designer.
Is it possible :
- to improve the behavior of the mouse wheel in form view ? The scrolling is too slow
- to add the possibility to select a group of gadget with the Mouse
- to manage correctly in a multi-windows project, the font constant name (*)
- to improve the behavior of the color deletion (right clic and delete color doesn't work)
(*) : some Windows with the same font name constant (#Font_0)
Arnaud
a French User
[5.10] Form Designer : bugs and improvements
-
- User
- Posts: 84
- Joined: Mon Sep 06, 2010 3:05 pm
Re: [5.10] Form Designer : bugs and improvements
To set the columnwidth of a ListIconGadget only the api style works, the PB command doesn't.
(I tested with both at the same place in the code.)
See also here for the rest of the sample source :
http://www.purebasic.fr/english/viewtop ... 13&t=53535
[14:09:46] [ERROR] Test Listview setup 2.pb (Line: 67)
[14:09:46] [ERROR] The specified #Gadget is not initialised.
[14:09:51] The Program was killed.
(I tested with both at the same place in the code.)
Code: Select all
With *Fn
If \Iml_hnd:ImageList_Destroy_(\Iml_hnd) : EndIf
\Iml_hnd=Create_Img_List(\ic_w,\ic_h,Siz,Flags)
SendMessage_(GadgetID(\Lvw_hnd), #LVM_SETIMAGELIST, #LVSIL_SMALL,\Iml_hnd)
SendMessage_(GadgetID(\Lvw_hnd), #LVM_SETCOLUMNWIDTH, 0,\ic_w)
;SetGadgetAttribute(GadgetID(\Lvw_hnd),#PB_ListIcon_ColumnWidth, \ic_w)
EndWith
http://www.purebasic.fr/english/viewtop ... 13&t=53535
[14:09:46] [ERROR] Test Listview setup 2.pb (Line: 67)
[14:09:46] [ERROR] The specified #Gadget is not initialised.
[14:09:51] The Program was killed.
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
Re: [5.10] Form Designer : bugs and improvements
Well, your code looks wrong, you shouldn't use GadgetID() with SetGadgetAttribute(). And please open a new thread if it's a new bug.
Re: [5.10] Form Designer : bugs and improvements
Wel I also tried this (see source sample for line position), but then it doesn't change anything :
I thougt all gadget related things would come in this thread. (But next time a new topic for every thing. Now I know.)
Code: Select all
SetGadgetAttribute(\Lvw_hnd, #PB_ListIcon_DisplayMode, #PB_ListIcon_List)
SetGadgetAttribute(\Lvw_hnd,#PB_ListIcon_ColumnWidth,\ic_w) ;<<<
Yeah I know, but keep in mind ... Leonardo da Vinci was also an autodidact.
Re: [5.10] Form Designer : bugs and improvements
You need to use SetGadgetItemAttribute() to change the column width, as you need to specify the column to act on.
-
- User
- Posts: 84
- Joined: Mon Sep 06, 2010 3:05 pm
Re: [5.10] Form Designer : bugs and improvements
Nobody takes into account my post ?
The original one...
The original one...
Re: [5.10] Form Designer : bugs and improvements
Your post is not about bugs but enhancement requests, so i move it to the correct forum section.