Share your opinion
WIDGETS GAMBAS
GAMBAS 3 SOFTWARES
TUTORIALS
Library
|
PICTUREBOX - Use REPARENT function
USE REPARENT COMMAND
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 Creation date : 09/05/2014 @ 16:11 Reactions to this article
| QUICK MENU
SEARCH
LANGUAGE
COMPONENTS
Other
LANGUAGE
Where, who?
VISITS
visitors visitors online ARCHIVES GAMBAS 1/2
|