|
-
May 22nd, 2006, 02:37 AM
#1
Thread Starter
Hyperactive Member
Which control should i use
Hi
I was wandering which control i should use, i want to design a restaurant layout, so i would need to draw the outline of the restaurant (very basically) on the control, i have designed about ten different table bitmaps (2 seaters, 3 seaters) etc. thus the user would select the table picture he wants it would then appear on the control and the he can drag and drop the table pic to the position that he needs it to be and so on. I have experimented using the VsFlexgrid control, it works but because it has cells you cant place the tables exactly where you want them. Please could someone advise me.
Many thanks
-
May 22nd, 2006, 03:54 AM
#2
Re: Which control should i use
Try using a Picturebox control for the main area with Image controls as your draggable items (tables etc.)
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 23rd, 2006, 01:52 AM
#3
Thread Starter
Hyperactive Member
Re: Which control should i use
Hi RobDog888
Thank you that sounds like a better idea, would you know of an example on the forum somewhere.
Many thanks
-
May 23rd, 2006, 02:15 AM
#4
Re: Which control should i use
I dont do much with picutre boxes but you may have to use the SetParent API to make the image control a child of the Picturebox.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 23rd, 2006, 02:43 AM
#5
Thread Starter
Hyperactive Member
Re: Which control should i use
thanks RobDog888
I will have to play around with it, i also don't use picture boxes too often but i guess it will be a good learning exercise.
Many thanks
-
May 23rd, 2006, 03:03 AM
#6
Re: Which control should i use
Np, I know there are allot of threads on pictureboxes so you should try a few searches. May save some time.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|