Page loading

Share your opinion
What do you think about gambaslinux.fr?
 
Interesting
It miss some informations
Excellent website
Results
WIDGETS GAMBAS
GAMBAS 3 SOFTWARES
TUTORIALS
Library
_gb3.pngPICTUREBOX - Use REPARENT function

USE REPARENT COMMAND

 


 



reparent.jpg
Hi,
Today, we use function REPARENT to move a picturebox(with a smiley image) in a lot of containers.
Here you find the code of this application, very simple.

Public Sub Button1_Click()
PictureBox1.Reparent(Frame1, 15, 15)
End

Public Sub Button2_Click()
PictureBox1.Reparent(Panel1, 15, 15)
End

Public Sub Button3_Click()
TabStrip1.index = 0
PictureBox1.Reparent(TabStrip1, 15, 15)
End

Public Sub Button4_Click()
TabStrip1.index = 1
PictureBox1.Reparent(TabStrip1, 15, 15)
End

Public Sub Button5_Click()
PictureBox1.Reparent(VBox1, 15, 15)
End

Public Sub Button6_Click()
PictureBox1.Reparent(HSplit1, 15, 15)
End


For the Tabsstrip, selct in first the index and after use reparent function
Thanks for your attention.
regards

wink

Creation date : 09/05/2014 @ 16:11
Last update : 09/05/2014 @ 16:12
Category : PICTUREBOX
Page read 4234 times


Print the article Print the article


react.gifReactions to this article

Nobody gave a comment yet.
Be the first one to do it!


QUICK MENU
SEARCH




LANGUAGE
COMPONENTS
Other
LANGUAGE
Where, who?
VISITS

   visitors

   visitors online

ARCHIVES GAMBAS 1/2
^ Top ^