RSS Forums RSS
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 4429 | Replies: 23 | Solved | Thread Tools  Display Modes
Reply
Join Date: Aug 2005
Posts: 24
Reputation: bang2711 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
bang2711 bang2711 is offline Offline
Newbie Poster

Re: pictureBox problem.. please help me!

  #11  
Oct 19th, 2005
hi w00dy, if i change my pictureBox to SSTab would it be better?
then i no need to do the cmdback button..
wat u think?
Reply With Quote  
Join Date: Oct 2005
Posts: 3
Reputation: mstangeh is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
mstangeh mstangeh is offline Offline
Newbie Poster

Re: pictureBox problem.. please help me!

  #12  
Oct 19th, 2005
I dont know if this would help you, but...
Here is an example code for creating any object y execution time

'first create a new object
dim chkbox as CheckBox
Set chkbox = Controls.Add("VB.CheckBox", "chhboxname", "the container")
'the container could be a picturebox, frame....
'now you can set all the properties
chkbox.top = ....
chkbox.left = ....
...
...
'and make it visible
chkbox.visible = true

that code can be used with any object (at least all i tried works for me, i used to create an array of pictureboxes, (with redim preserve))

greeting,
Mauricio Stange H.
Reply With Quote  
Join Date: Oct 2005
Location: Adelaide
Posts: 24
Reputation: macka007 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 2
macka007 macka007 is offline Offline
Newbie Poster

Re: pictureBox problem.. please help me!

  #13  
Oct 20th, 2005
are you after a new picture for a checkbox instead of the traditional tick?
Reply With Quote  
Join Date: Aug 2005
Posts: 24
Reputation: bang2711 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
bang2711 bang2711 is offline Offline
Newbie Poster

Re: pictureBox problem.. please help me!

  #14  
Oct 20th, 2005
Originally Posted by macka007
are you after a new picture for a checkbox instead of the traditional tick?

yes, i`m replacing the checkbox wif a picture.

until now w00dy have help me alot on this.
really hav to thanks alot to him.

for now the pictureBox is working fine, but i got a problem..
i need a back and prev button..

now i`m trying to change from pictureBox to SStab, therefore i not need to use the back and prev button.

Mm.. how to do
"Set Check1(x).Container = SSTab1.Tab" in tab 2
"Set Check1(x).Container = SSTab1.Tab = y" y is my number of tab
Reply With Quote  
Join Date: Oct 2005
Location: Adelaide
Posts: 24
Reputation: macka007 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 2
macka007 macka007 is offline Offline
Newbie Poster

Re: pictureBox problem.. please help me!

  #15  
Oct 20th, 2005
what is an sstab?
Reply With Quote  
Join Date: Jun 2005
Posts: 70
Reputation: w00dy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 2
w00dy w00dy is offline Offline
Junior Poster in Training

Re: pictureBox problem.. please help me!

  #16  
Oct 20th, 2005
Hi Macka,
I must admit SStab is something I never heard of either, so I guess I wouldn't be any help to Bang with that, but here it is on MSDN:

http://msdn.microsoft.com/library/de...logcontrol.asp
Reply With Quote  
Join Date: Aug 2005
Posts: 24
Reputation: bang2711 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
bang2711 bang2711 is offline Offline
Newbie Poster

Re: pictureBox problem.. please help me!

  #17  
Oct 20th, 2005
Originally Posted by macka007
what is an sstab?

SSTab = microsoft tabbed dialog control 6.0

i upload a sample picture of it.
Attached Images
File Type: png SStab sample.png (101.2 KB, 0 views)
Reply With Quote  
Join Date: Aug 2005
Posts: 24
Reputation: bang2711 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
bang2711 bang2711 is offline Offline
Newbie Poster

Re: pictureBox problem.. please help me!

  #18  
Oct 20th, 2005
Originally Posted by w00dy
Hi Macka,
I must admit SStab is something I never heard of either, so I guess I wouldn't be any help to Bang with that, but here it is on MSDN:

http://msdn.microsoft.com/library/de...logcontrol.asp


hi w00dy,

but now i got error with the back and prev button with the file "CControls"
it cannot go all the way back ..
Reply With Quote  
Join Date: Aug 2005
Posts: 24
Reputation: bang2711 is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
bang2711 bang2711 is offline Offline
Newbie Poster

Re: pictureBox problem.. please help me!

  #19  
Oct 21st, 2005
really hope tat u guys can help me out..

thanks alot.
Reply With Quote  
Join Date: Jun 2005
Posts: 70
Reputation: w00dy is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 2
w00dy w00dy is offline Offline
Junior Poster in Training

Re: pictureBox problem.. please help me!

  #20  
Oct 21st, 2005
[quote= but now i got error with the back and prev button with the file "CControls.
it cannot go all the way back ..[/QUOTE]

Well, the version I sent you didn't have those buttons...
You'll have to post an example of your code
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Other Threads in the Visual Basic 4 / 5 / 6 Forum
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 5:05 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC