-
Apr 13th, 2022, 11:20 AM
#1
Thread Starter
Hyperactive Member
using a Left;Top value includes .
using a Left;Top value includes . or , (like 129,15)
Last edited by gaouser; Apr 13th, 2022 at 11:30 AM.
-
Apr 13th, 2022, 11:26 AM
#2
Re: using a Left;Top value includes . or ,
Originally Posted by gaouser
using a Left;Top value includes . or ,
Do you need an ambulance?
-
Apr 13th, 2022, 11:29 AM
#3
Thread Starter
Hyperactive Member
Re: using a Left;Top value includes . or ,
no (im laughing and i cant stop it)
-
Apr 13th, 2022, 11:32 AM
#4
Thread Starter
Hyperactive Member
Re: using a Left;Top value includes .
(i need help because i cant develop my app
-
Apr 13th, 2022, 11:36 AM
#5
Re: using a Left;Top value includes .
Then you need to do a better job of articulating your problems. If you haven't seen it before, there's a link in my signature - the one about eels and hovercrafts - that will help you to form a better question than just:
using a Left;Top value includes . or , (like 129,15)
Because that just makes it look like you're having a stroke. OR maybe your fingers fell off while typing. Either way, it might be cause for concern. None of us have psychic abilities (that I know of) and none of us are sitting your lap (I hope not!) so we don't see what you're seeing. So... paint us a picture...
-tg
-
Apr 13th, 2022, 11:43 AM
#6
Thread Starter
Hyperactive Member
Re: using a Left;Top value includes .
-
Apr 13th, 2022, 03:04 PM
#7
Re: using a Left;Top value includes .
Attachments added in Quick Reply are having issues, and have been for a time. My understanding is that you need to hit Go Advanced and add attachments there, for them to work.
My usual boring signature: Nothing
-
Apr 13th, 2022, 03:09 PM
#8
Re: using a Left;Top value includes .
You don't set Left,Top at once. You set Left, then you set Top, or you set Position, but even if you set Position it isn't quite as simple as that. You can set it to a point.
My usual boring signature: Nothing
-
Apr 13th, 2022, 03:20 PM
#9
Re: using a Left;Top value includes .
Originally Posted by gaouser
using a Left;Top value includes . or , (like 129,15)
What'chu talkin' bout, Willis?
-
Apr 14th, 2022, 06:21 AM
#10
Re: using a Left;Top value includes .
Are you speaking of the separation of numbers or the decimal symbol ? For position the numbers are integer so no . or ,
The best friend of any programmer is a search engine
"Don't wish it was easier, wish you were better. Don't wish for less problems, wish for more skills. Don't wish for less challenges, wish for more wisdom" (J. Rohn)
“They did not know it was impossible so they did it” (Mark Twain)
-
Apr 15th, 2022, 02:16 PM
#11
Thread Starter
Hyperactive Member
Re: using a Left;Top value includes .
(i think im going back to vb6)
-
Apr 15th, 2022, 02:20 PM
#12
Thread Starter
Hyperactive Member
Re: using a Left;Top value includes .
is there a way to use single or decimal values on positions ???
-
Apr 15th, 2022, 03:04 PM
#13
Re: using a Left;Top value includes .
Originally Posted by gaouser
is there a way to use single or decimal values on positions ???
So how do you expect to position something on a fraction of a pixel? Do you know what a pixel is and how displays work?
-
Apr 16th, 2022, 08:06 AM
#14
Re: using a Left;Top value includes .
No he doesn't. I think all this is just a Big Joke and a Big Troll...
The best friend of any programmer is a search engine
"Don't wish it was easier, wish you were better. Don't wish for less problems, wish for more skills. Don't wish for less challenges, wish for more wisdom" (J. Rohn)
“They did not know it was impossible so they did it” (Mark Twain)
-
Apr 16th, 2022, 02:43 PM
#15
Re: using a Left;Top value includes .
Originally Posted by gaouser
using a Left;Top value includes . or , (like 129,15)
is it this you want??
Code:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' group box trainee
With Me.GrpBoxLvw
.Left = CInt(10)
.Top = CInt(10)
.Width = Me.Width / CInt(2)
.Height = CInt(Me.Height / CInt(2) - .Top)
End With
' listview
With ListView1
.Left = CInt(15)
.Top = CInt(15)
.Width = GrpBoxLvw.Width - CInt(2) * .Left
.Height = GrpBoxLvw.Height - CInt(2) * .Top
End With
' buttons
With Button1
.Top = GrpBoxLvw.Top + GrpBoxLvw.Height + CInt(10)
End With
With Button2
.Top = Button1.Top
.Left = Button1.Left + Button1.Width + CInt(10)
End With
With Button3
.Top = Button1.Top
.Left = Button2.Left + Button2.Width + CInt(10)
End With
End Sub
Private Sub Form1_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Resize
' group box trainee
With Me.GrpBoxLvw
.Left = CInt(15)
.Top = CInt(10)
.Width = Me.Width / CInt(2) '* .Left
.Height = CInt(Me.Height / CInt(2) - .Top)
End With
' listview
With ListView1
.Left = CInt(20)
.Top = CInt(20)
.Width = GrpBoxLvw.Width - CInt(2) * .Left
.Height = GrpBoxLvw.Height - CInt(2) * .Top
End With
' buttons
With Button1
.Top = GrpBoxLvw.Top + GrpBoxLvw.Height + CInt(10)
End With
With Button2
.Top = Button1.Top
.Left = Button1.Left + Button1.Width + CInt(10)
End With
With Button3
.Top = Button1.Top
.Left = Button2.Left + Button2.Width + CInt(10)
End With
End Sub
End Class
EDIT:
just seen that you have some strange questions all over the place, so think first before you ask.
to hunt a species to extinction is not logical !
since 2010 the number of Tigers are rising again in 2016 - 3900 were counted. with Baby Callas it's 3901, my wife and I had 2-3 months the privilege of raising a Baby Tiger.
-
Apr 16th, 2022, 03:48 PM
#16
Re: using a Left;Top value includes .
Originally Posted by ChrisE
Just seen that you have some strange questions all over the place, so think first before you ask.
Not gonna happen.
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
|