Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 14th, 2004, 02:59 PM
q8z q8z is offline
Registered User
 
Join Date: Oct 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default chane location of items

hi
whaen i want to change location - i do this:
Me.TextBoxA1.Location = New System.Drawing.Point(40, 0)
Me.LabelL1.Location = New System.Drawing.Point(80, 0)
is this good way?
thanks

 
Old October 14th, 2004, 03:49 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

I wouldn't think there was any issues with that, no. I didn't know of another way...

Brian
 
Old October 15th, 2004, 05:50 AM
q8z q8z is offline
Registered User
 
Join Date: Oct 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

the link to my program is
http://planet.nana.co.il/s3d
you say there is no other way - so way my progarm mix it in a horrible way?
thanks

 
Old October 15th, 2004, 07:30 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

Now are we talking a windows or web application? If you are talking web, do you have the pageLayout set to GridLayout and not FlowLayout. For web you want to use a style attribute, and set the following attributes:

position:absolute;left:40px;top:0px;

For a control you can define it as:

<asp:HyperLink id="HyperLink1" style="Z-INDEX: 101; LEFT: 176px; POSITION: absolute; TOP: 208px" runat="server">HyperLink</asp:HyperLink>

Or specify the style in the code-behind. I thought you were talking windows.

Brian
 
Old October 15th, 2004, 07:31 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Oh a link to a good reference on that: http://www.w3schools.com/dhtml/dhtml_css.asp





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chane Properties of a user control from MasterPage slim182 ASP.NET 2.0 Basics 1 February 26th, 2007 09:54 PM
One Location to Many Locations sudipkumar Biztalk 0 April 15th, 2005 08:13 AM
Getting the location of a Record creative_eye ADO.NET 2 May 12th, 2004 09:46 AM
displaying 6 items only having 20 items Lakshmi KS VB Components 1 February 17th, 2004 10:34 AM
set location Sharonanna Crystal Reports 1 January 15th, 2004 06:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.