If all you want is for the button to move then this code works fine here and button moves smoothy. https://www.purebasic.fr/english/viewto ... 70#p557070
PS
click
111
111
111
Search found 720 matches
- Mon Apr 15, 2024 9:35 pm
- Forum: Coding Questions
- Topic: Can you check this out? (mac os)
- Replies: 26
- Views: 4887
- Sat Apr 13, 2024 10:26 pm
- Forum: Mac OSX
- Topic: Get line height
- Replies: 1
- Views: 222
Re: Get line height
Compare font sizes from before beta 8 to now. Change fonts and sizes and adjust until satisfied. It also gives you the default size of font when both windows have the same number of lines. EnableExplicit #geneva12=12 ; default height is 24 Global rowHeight.cgfloat=15.0 ; old height for Geneva12 in b...
- Thu Apr 11, 2024 3:31 am
- Forum: Mac OSX
- Topic: Open web page
- Replies: 3
- Views: 320
Re: Open web page
Thanks Quin,
Works perfectly! I was playing with RunProgram but couldn't get the right combination.
Works perfectly! I was playing with RunProgram but couldn't get the right combination.
- Thu Apr 11, 2024 12:55 am
- Forum: Mac OSX
- Topic: Get line height
- Replies: 1
- Views: 222
Get line height
I've been setting my own heights of all my fonts in the ListViewGadget and I'm wondering if there is a command to tell what the default line height is after the ListView gadget is created?
- Thu Apr 11, 2024 12:49 am
- Forum: Mac OSX
- Topic: Open web page
- Replies: 3
- Views: 320
Open web page
In my program I want to be able to use code to run Safari and go to a specific page (e.g. https://world-weather.info/forecast/usa ... arch-2023/) I don't need to read the contents or anything I just want to look at it.
I'm sure I saw this somewhere...
I'm sure I saw this somewhere...
- Tue Apr 09, 2024 9:17 pm
- Forum: Bugs - Mac OSX
- Topic: PB 6.10 b8 - Font line height much taller
- Replies: 4
- Views: 315
Re: PB 6.10 b8 - Font line height much taller
I've been setting my own heights of all my fonts and I'm wondering if there is a command to tell what the default (or my) line spacing is after the ListView gadget is created?
- Thu Apr 04, 2024 4:54 pm
- Forum: Bugs - Mac OSX
- Topic: PB 6.10 b8 - Font line height much taller
- Replies: 4
- Views: 315
Re: PB 6.10 b8 - Font line height much taller
Thanks mk-soft
That's a huge relief.
I liked the spacing and it will be easy to fix with your suggestion.
That's a huge relief.
I liked the spacing and it will be easy to fix with your suggestion.
- Thu Apr 04, 2024 4:48 pm
- Forum: Mac OSX
- Topic: 6.10b8 ListView line height is much larger
- Replies: 8
- Views: 418
Re: 6.10b8 ListView line height is much larger
https://www.purebasic.fr/english/viewtopic.php?p=618845#p618845 mk-soft says and provides a work-around. In Beta 8, the row height was much too small and has been adjusted. If this is now too large for you, you can adjust it yourself. This should make getting all my code to work (as it was) pretty s...
- Wed Apr 03, 2024 9:41 pm
- Forum: Bugs - Mac OSX
- Topic: PB 6.10 b8 - Font line height much taller
- Replies: 4
- Views: 315
Re: PB 6.10 b8 - Font line height much taller
I played with the help example and tried to get the two different line heights. This example shows both narrow and tall line spaces using beta 7 (not 8-10 tall both ways). #geneva12=1 ; only in beta 7 and before! LoadFont(#geneva12,"Geneva",12) If OpenWindow(0, 0, 0, 270, 140, "ListVi...
- Thu Mar 28, 2024 11:13 pm
- Forum: Bugs - Mac OSX
- Topic: PB 6.10 b8 - Font line height much taller
- Replies: 4
- Views: 315
PB 6.10 b8 - Font line height much taller
The ListViewGadget line height is much taller starting with 6.10beta8 (thru 10) than it was in 6.10b7 and before in my programs (seen in 2 programs). Left is 6.10beta 7 and on the right is LTS6.10. Same program using Geneva 12 in a ListViewGadget. Oddly, if I run the ListViewGadget Help example I ge...
- Fri Mar 15, 2024 5:23 pm
- Forum: Mac OSX
- Topic: 6.10b8 ListView line height is much larger
- Replies: 8
- Views: 418
Re: 6.10b8 ListView line height is much larger
Lebostein, I am seeing what you are showing in your image. I was playing with the SetGadgetFont but I didn't figure out the sequence. This looks like a bug and you've already reported it. Fred said he fixed it so I'll wait and see if he has an update. Thanks for the info and bug report. [later] It l...
- Fri Mar 15, 2024 12:33 am
- Forum: Mac OSX
- Topic: 6.10b8 ListView line height is much larger
- Replies: 8
- Views: 418
6.10b8 ListView line height is much larger
Does it appear that line height in the ListViewGadget is much larger than in 6.10b7? The example in Help seems to be ok but I'm going to have a lot of editing to get the new size to work and I'd really like the lines not be so tall. In one of my programs in beta 7 I get 70 lines showing and in beta ...
- Sat Feb 10, 2024 6:31 pm
- Forum: Mac OSX
- Topic: Howto register file extensions and open the files
- Replies: 10
- Views: 9915
Re: Howto register file extensions and open the files
PB_Gadget_SetOpenFinderFiles This command works differently than it did back when this thread started and (I understand) this is how it works for the IDE. Now I have to intercept the incoming files in the event loop using a PostEvent(). This was explained in this thread https://www.purebasic.fr/eng...
- Fri Feb 02, 2024 10:47 pm
- Forum: Mac OSX
- Topic: Deselecting text in a StringGadget()?
- Replies: 3
- Views: 417
- Thu Sep 14, 2023 9:57 pm
- Forum: Mac OSX
- Topic: [6.03-b7/8] Project files corrupted
- Replies: 8
- Views: 549
Re: [6.03-b7/8] Project files corrupted
Hi Fred, When I first ran Beta 8 had a message that my Resources file was missing which gave all kinds of problems so I bailed. Starting with a fresh folder I ran the Beta 8 with no problems. I ran another project and it didn't have any problems. I think this is my mistake and I see what I was doing...