You must have misunderstood me. The new constants are not defined at all under Mac OS. The compiler reports "syntax error"AZJIO wrote: Sat Dec 23, 2023 1:16 pmCode: Select all
CreatePreferences(Filename$, #PB_Preference_NoBOM) Select EventType() Case #PB_EventType_ColumnClick Debug "ColumnClick" EndSelect Fingerprint(*Buffer , Size , #PB_Cipher_HMAC, Bits)
PureBasic 6.10 LTS is out !
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
I hate to appear stupid,:but everyone else here seems to know where to get this beta. Can anyone give me a pointer to the download?
- NicTheQuick
- Addict
- Posts: 1504
- Joined: Sun Jun 22, 2003 7:43 pm
- Location: Germany, Saarbrücken
- Contact:
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
It's in your User Account at purebasic.com. Where did you look for it?jayand wrote: Sat Dec 23, 2023 8:03 pm I hate to appear stupid,:but everyone else here seems to know where to get this beta. Can anyone give me a pointer to the download?
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Thanks. It seems I need new glasses. I looked there earlier, but failed to see the link.
-
- Addict
- Posts: 1518
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
I tested the code with WebViewGadget from the first post in Win 7, Win 8 and Win 10, and the window is always empty (gadget is not initialized).
Does anyone have this code working fine?
WebGadget when using a flag #PB_Web_Edge it is also not initialized.
Is this a bug?
Does anyone have this code working fine?
WebGadget when using a flag #PB_Web_Edge it is also not initialized.
Is this a bug?
-
- Addict
- Posts: 4777
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
It works well here on Windows 11. I can't test on any other Windows version.User_Russian wrote: Sat Dec 23, 2023 8:44 pm I tested the code with WebViewGadget from the first post in Win 7, Win 8 and Win 10, and the window is always empty (gadget is not initialized).
Does anyone have this code working fine?
- skinkairewalker
- Enthusiast
- Posts: 772
- Joined: Fri Dec 04, 2015 9:26 pm
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
I just tested it on Windows 11 and Windows 10 ( It took a few seconds of a white screen due to junky hardware, but it worked fine) .User_Russian wrote: Sat Dec 23, 2023 8:44 pm I tested the code with WebViewGadget from the first post in Win 7, Win 8 and Win 10, and the window is always empty (gadget is not initialized).
Does anyone have this code working fine?
WebGadget when using a flag #PB_Web_Edge it is also not initialized.
Is this a bug?
both worked for me...
- the.weavster
- Addict
- Posts: 1576
- Joined: Thu Jul 03, 2003 6:53 pm
- Location: England
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Do you have the latest version of MS Edge browser ( chrome based ) installed? I'm not a Windows user but I think you need that to ensure you have WebView2 on your system.User_Russian wrote: Sat Dec 23, 2023 8:44 pm I tested the code with WebViewGadget from the first post in Win 7, Win 8 and Win 10, and the window is always empty (gadget is not initialized).
Does anyone have this code working fine?
WebGadget when using a flag #PB_Web_Edge it is also not initialized.
Is this a bug?
-
- Addict
- Posts: 1518
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
I installed Edge browser, but WebViewGadget still doesn't work.
-
- Addict
- Posts: 1518
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
It turned out that need to install WebView2 Runtime https://developer.microsoft.com/en-us/m ... /webview2/
This will make it difficult to distribute applications with WebViewGadget.
Runtime size 170 MB. It is more than .NET Framework.
This will make it difficult to distribute applications with WebViewGadget.
Runtime size 170 MB. It is more than .NET Framework.
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Yes you need the runtime, it's available natively on all Windows 11, and should be available on all up to date Windows 10. If not you can distribute the evergreen runtime installer which is the recommended way to ship your app.
-
- Addict
- Posts: 1518
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
In the executable file created in PB 6.10 I found the text

Now the application depends on .NET Framework?mscoree.dll CorExitProcess


-
- User
- Posts: 29
- Joined: Thu Aug 03, 2023 5:44 pm
- Location: Off Planet
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
I've answered my own question. I'm running on Mac M1 with Sonoma 14.2.1. The constants for 6.10 beta 1 are not defined. After a bit of skulduggery, I've found that if I declare the required constants in my own code, new functionality for alignment of columns in ListIconGadget works a treat.DayDreamer wrote: Sat Dec 23, 2023 4:22 am Great stuff. But I need a little assistance and think I've missed something: ListIconGadget - what flag values do I specify for column alignment?
Code: Select all
;
; PB specific - new with v6.1b, not yet formally declared on MacOS.
;
#PB_ListIcon_Left = 0
#PB_ListIcon_Right = 1
#PB_ListIcon_Center = 2
#PB_ListIcon_ColumnAlignment = 5
;
; Now use the SetGadgetItemAttribute function to set alignment for listicongadget where:
; First parameter listbox = gadget ID of listicongadget
; Second parameter is ignored, just pass in 0
; Third parameter is new constant #PB_ListIcon_ColumnAlignment, which is instruction for aligning column in listicongadget
; Fourth parameter is new constant value, a choice between #PB_ListIcon_Left, #PB_ListIcon_Right and #PB_ListIcon_Center
; Fifth parameter is index number of column in listicongadget, where column numbering starts at 0.
;
; In following example (commented out), shows setting the alignment for fifth column of listicongadget to be right aligned.
;
; SetGadgetItemAttribute(listicongadget, 0, #PB_ListIcon_ColumnAlignment, #PB_ListIcon_Right,4)
I hope this is found to be useful. I expect in newer code releases that the need to specifically declare these constants in your apps will be removed.
Cheers,
DayDreamer

Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
No. Use dependencies walker to see which dll is used.User_Russian wrote: Sun Dec 24, 2023 12:10 am In the executable file created in PB 6.10 I found the textNow the application depends on .NET Framework?mscoree.dll CorExitProcess![]()
![]()