Page 1 of 1
					
				bigger border arround the imagegadget?
				Posted: Thu Mar 03, 2005 11:02 pm
				by Hroudtwolf
				hello,
Do anyone know the API-Constant for making a bigger border arround the imagegadget? 
A border like  "#PB_Frame3D_Double" . But for ImageGadget.
			 
			
					
				
				Posted: Sat Mar 19, 2005 3:34 pm
				by dagcrack
				You could fake it 
Think about placing some gadget under the image that will work as the border? but not a nice way.... nevermind
			 
			
					
				
				Posted: Sun Mar 20, 2005 3:30 am
				by localmotion34
				ok here you go:
Code: Select all
#WindowWidth  = 450
#WindowHeight = 305
If OpenWindow(30, 100, 200, #WindowWidth, #WindowHeight, #PB_Window_SystemMenu | #PB_Window_MinimizeGadget, "PureBasic - Advanced Gadget Demonstration")
  
  If CreateGadgetList(WindowID(30))
    ImageGadget(0, 20, 5, 100, 100,0,#PB_Image_Border|#WS_EX_DLGMODALFRAME)
  EndIf
  Repeat
    EventID = WaitWindowEvent()
    
    If EventID = #PB_EventGadget
      
      Select EventGadgetID()
        
        
      EndSelect
      
    EndIf
    
  Until EventID = #PB_EventCloseWindow
EndIf
End 
that gives you a nice big 3D border around the imagegadget.
 
			 
			
					
				
				Posted: Sun Mar 20, 2005 2:57 pm
				by Hroudtwolf
				1000 * thx.... 
