Page 27 of 103
					
				PureFORM ComboBox
				Posted: Sun Mar 11, 2007 10:07 pm
				by michel
				Hello Gnozal,
Why did you fix the height of the ComboBoxGadget to 100, it would be better if the user could decide by himself how heigh he wants his Com Box be?
Michel
			 
			
					
				Re: PureFORM ComboBox
				Posted: Mon Mar 12, 2007 10:14 am
				by gnozal
				michel wrote:Why did you fix the height of the ComboBoxGadget to 100
To avoid problems like no list visible because of insufficient gadget height, and I always use 100 
michel wrote:it would be better if the user could decide by himself how heigh he wants his Com Box be?
The problem is that after you move / resize a gadget, PureFORM stores it's new dimensions, and the gadget height for a combobox is not really the gadget height, but the list height. Because of this PureFORM don't allow the user to resize a combobox vertically. But I guess I could allow the user to modify the height via the spingadgets in the gadget properties.
 
			 
			
					
				
				Posted: Mon Mar 12, 2007 11:01 am
				by gnozal
				Update
Changes :
- you can now set the ComboBox/ExplorerCombo height via the spingadgets in the gadget properties window
			 
			
					
				
				Posted: Mon Mar 12, 2007 11:06 am
				by GeoTrail
				Feature request, auto-update 

 hehehe
 
			 
			
					
				
				Posted: Mon Mar 12, 2007 11:31 am
				by gnozal
				GeoTrail wrote:Feature request, auto-update 

 hehehe
 
It's already (almost) there : 
http://www.purebasic.fr/english/viewtopic.php?t=26187
My library updater also checks for jaPBe V3 and PureFORM. The only thing it doesn't do (yet ?) for PureFORM is installing.
 
			 
			
					
				
				Posted: Mon Mar 12, 2007 12:00 pm
				by GeoTrail
				Yeah I've seen that. Just ment a small built-in function. but hey, I'm VERY impressed with PureForm 

 
			 
			
					
				PureFORM Code infusion
				Posted: Mon Mar 12, 2007 5:36 pm
				by michel
				Hello Gnozal,
Thank you for build 133.  
 
Could you imagine to offer a sorted object list in the code infusion window. So all buttons, strings and so on could be better found?
Michel
 
			 
			
					
				Re: PureFORM Code infusion
				Posted: Wed Mar 14, 2007 10:02 am
				by gnozal
				michel wrote:Could you imagine to offer a sorted object list in the code infusion window. So all buttons, strings and so on could be better found?
I have so much imagination and so little time ... 

 
			 
			
					
				
				Posted: Wed Mar 14, 2007 12:21 pm
				by yrreti
				Hello Gnozal, 
Would it be possible to add the following button in your Gadget Bar Menu
to add a ToolBar list if needed?
ToolBar
Code: Select all
      hWndPanel = PanelGadget(15,1,1,300,25);this way displays panel icons without box
      ;PanelGadget(15,1,1,300,25);this way displays panel icons in a panel box
      
      ;Result = CreateToolBar(#ToolBar, WindowID)
      hWndTB = CreateToolBar(1,WindowID(#Window_0));// win = Source of events
      ToolBarStandardButton(100,#PB_ToolBarIcon_New)
      ToolBarStandardButton(101,#PB_ToolBarIcon_Open)
      ToolBarStandardButton(102,#PB_ToolBarIcon_Save)
      ToolBarStandardButton(103,#PB_ToolBarIcon_Print)
      
      ToolBarStandardButton(104,#PB_ToolBarIcon_Find)   
      ToolBarStandardButton(105,#PB_ToolBarIcon_Replace)
        
      ToolBarStandardButton(106,#PB_ToolBarIcon_Cut)
      ToolBarStandardButton(107,#PB_ToolBarIcon_Copy)
      ToolBarStandardButton(108,#PB_ToolBarIcon_Paste)
      ToolBarStandardButton(109,#PB_ToolBarIcon_Delete)   
      ToolBarStandardButton(110,#PB_ToolBarIcon_Undo)
    
      ToolBarStandardButton(111,#PB_ToolBarIcon_Properties)
      ToolBarStandardButton(112,#PB_ToolBarIcon_Help) 
    
      ToolBarToolTip(1, 100, "New document")
      ToolBarToolTip(1, 101, "Open file")
      ToolBarToolTip(1, 102, "Save file")
      ToolBarToolTip(1, 103, "Print document")
      ToolBarToolTip(1, 104, "Find")
      ToolBarToolTip(1, 105, "Replace")
      ToolBarToolTip(1, 106, "Cut")
      ToolBarToolTip(1, 107, "Copy")
      ToolBarToolTip(1, 108, "Paste")
      ToolBarToolTip(1, 109, "Delete")
      ToolBarToolTip(1, 110, "Undo")
      ToolBarToolTip(1, 111, "Properties")
      ToolBarToolTip(1, 112, "Help")    
       
      SetParent_(hWndTB,hWndPanel);//move into panel.  This way displays panel icons without box
      ;SetParent_(1,15);this way displays panel icons in a panel box
Note: There are some others that could be added too, but this is just an example.
Thank you for your nice program.
 
			 
			
					
				
				Posted: Wed Mar 14, 2007 4:33 pm
				by gnozal
				yrreti wrote:Hello Gnozal, 
Would it be possible to add the following button in your Gadget Bar Menu
to add a ToolBar list if needed?
A toolbar list ?
You mean change the parent of the toolbar ? I guess you can do it already with the code infusion feature, adding this line
Code: Select all
SetParent_(PeekL(IsToolBar(#Toolbar)), GadgetID(#Panel))
 in CodeInfusion::WindowEvent/#Window_0/Window creation.
 
			 
			
					
				PureForm ideas and proposals
				Posted: Wed Mar 14, 2007 6:17 pm
				by michel
				Hello Gnozal,
You decide whenever you want to invest time in your software; the ideas which I suggested to you are to improve this wonderful editor but I do not want to stress you  
 
michel
 
			 
			
					
				
				Posted: Thu Mar 15, 2007 3:17 am
				by yrreti
				Hello Gnozal,
 
A toolbar list ?
You mean change the parent of the toolbar ? I guess you can do it already with the code infusion feature, adding this line
What I meant regarding the tool bar was something like this:
[img]
[img]http://i2.turboimagehost.com/t/285610_toolbar_example.PNG[/img]<img
The toolbar images are just a faster way instead of using the menu's if a
person wants.
Also, I've heard this code infusion feature mentioned before.
What is this feature exactly, and how would I be able to use it?
Thank you for your help.
 
			 
			
					
				
				Posted: Thu Mar 15, 2007 8:54 am
				by gnozal
				@yrreti : there already is a toolbar builder in PureFORM (right-click on window, select 'Add Toolbar' menu item).
With the code infusion feature, you can add code to your form (F8 shortcut). Please have a look at PureFORM.chm.
			 
			
					
				
				Posted: Thu Mar 15, 2007 11:51 am
				by gnozal
				Update
Changes :
- fix : 'Include file as hexadecimal data' was broken
			 
			
					
				
				Posted: Thu Mar 15, 2007 12:26 pm
				by yrreti
				Woops!  
  
 Sorry Gnozal
I guess I was just used to using your Gadget bar menu for selecting.
And I never used the mouse right click over an unused area where 
that feature does show. I 
always used it over a created gadget where 
it doesn't show, and therefore never noticed it.
As for the code infusion, thanks for the explanation. 
Thank you for both of these features. They both are some great 
features, especially the code infusion part. 
  
 
Sorry for the confusion.  

 I guess I do need to look your help file
over a lot better first.