Search found 280 matches

by Mesa
Sat Apr 13, 2024 9:16 am
Forum: Coding Questions
Topic: Is SkewCoordinates() bugged ?
Replies: 1
Views: 123

Is SkewCoordinates() bugged ?

With this code found in the pb help, the "skewed" text is translated on the right, is that a bug ?. If OpenWindow(0, 0, 0, 400, 200, "VectorDrawing", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) CanvasGadget(0, 0, 0, 400, 200) If StartVectorDrawing(CanvasVectorOutput(0)) Ve...
by Mesa
Sat Apr 13, 2024 8:24 am
Forum: Tricks 'n' Tips
Topic: Custom Scintilla lexer
Replies: 14
Views: 10380

Re: Custom Scintilla lexer

It crashes when i use the menu open (file).

M.
by Mesa
Wed Apr 10, 2024 2:26 pm
Forum: Bugs - Windows
Topic: [Done] ComboBoxGadget + #PB_ComboBox_Editable
Replies: 7
Views: 495

Re: ComboBoxGadget + #PB_ComboBox_Editable

It's a very annoying bug, not solve with pb6.10.

Is there a work around anywhere ?

Thanks

Mesa.
by Mesa
Fri Mar 29, 2024 8:41 am
Forum: Coding Questions
Topic: Sorting editor Gadget
Replies: 2
Views: 157

Re: Sorting editor Gadget

Please send us a little bit of code to begin with.

Listicon can sort date with this https://www.purebasic.fr/english/viewto ... bi#p477397

M.
by Mesa
Thu Mar 21, 2024 3:15 pm
Forum: Coding Questions
Topic: Problem with Mouse and F10 key ...
Replies: 16
Views: 505

Re: Problem with Mouse and F10 key ...

Everything works finehere with windows10 pb6.10b8x64.

Maybe something wrong with your keyboard or you may have a keyboard manager somewhere.

M.
by Mesa
Wed Feb 28, 2024 5:36 pm
Forum: Tricks 'n' Tips
Topic: Dialog + treegadget: change icons on the fly with double/simple clic
Replies: 1
Views: 335

Dialog + treegadget: change icons on the fly with double/simple clic

No api so it should be multiplatform... Runtime Enumeration Windows #win EndEnumeration Runtime Enumeration Gadgets #tree EndEnumeration Enumeration #Closed #Open #sheet EndEnumeration Declare tree_OnEvent() Declare tree_OnChange() Declare tree_OnLeftclic() Declare tree_OnLeftDoubleClic() Structure ...
by Mesa
Wed Feb 28, 2024 5:32 pm
Forum: Coding Questions
Topic: TreeGadget in dialog has a bug ?
Replies: 1
Views: 259

Re: TreeGadget in dialog has a bug ?

No bugs but a struggle with it. The solution: Runtime Enumeration Windows #win EndEnumeration Runtime Enumeration Gadgets #tree EndEnumeration Enumeration #Closed #Open #sheet EndEnumeration Declare tree_OnEvent() Declare tree_OnChange() Declare tree_OnLeftclic() Declare tree_OnLeftDoubleClic() Stru...
by Mesa
Wed Feb 28, 2024 11:57 am
Forum: Coding Questions
Topic: TreeGadget in dialog has a bug ?
Replies: 1
Views: 259

TreeGadget in dialog has a bug ?

With the code under, if i clic on "Book1" to open the node, GetGadgetItemState() tells me that every items became Expanded except "Book1" (by clicking on each items). Idem with "Book2". If i close the node, GetGadgetItemState() tells me that every items became collapsed...
by Mesa
Tue Feb 20, 2024 3:00 pm
Forum: Applications - Feedback and Discussion
Topic: DialogDesign0R V1.85
Replies: 212
Views: 105968

Re: DialogDesign0R V1.84

I've found a bug in the toolbar managment, #PB_ToolBar_Large| #PB_ToolBar_Text doesn't work. For information, line 330, if i change 'CreateToolBar(Items()\ToolBarID, WindowID(DialogWindow(Dialog)))' by 'CreateToolBar(Items()\ToolBarID, WindowID(DialogWindow(Dialog)),#PB_ToolBar_Large| #PB_ToolBar_Te...
by Mesa
Tue Feb 13, 2024 9:37 am
Forum: General Discussion
Topic: Calling the PureBasic community.
Replies: 0
Views: 299

Calling the PureBasic community.

Calling the pb community. We can consider that the new webview gadget is provided with enough examples of use, however if you have in mind an example of code that is complex, but not too complex to put in the official help then please post it below ( a webbrowser, a game, etc.). We will take a look....
by Mesa
Sat Feb 10, 2024 12:17 pm
Forum: Coding Questions
Topic: Waiting Screen with transparent background
Replies: 20
Views: 1145

Re: Waiting Screen with transparent background

Yes you're right, you can use also WaitWindowEvent(1) without timer it's the 3rd soluce. The quality is vector>2d>sprite The speed is sprite>>>2d>vector You could try the gif solution, pre compute all frame and just display them. ; ; ------------------------------------------------------------ ; ; P...
by Mesa
Thu Feb 08, 2024 5:41 pm
Forum: Coding Questions
Topic: Waiting Screen with transparent background
Replies: 20
Views: 1145

Re: Waiting Screen with transparent background

I think there's a bug somewhere in the vectordrawing library: Procedure.l SetLayeredWindow(WindowID) ; Mettre l'attribut WS_EX_LAYERED à la fenêtre SetWindowLong_(WindowID, #GWL_EXSTYLE, GetWindowLong_(WindowID, #GWL_EXSTYLE) | #WS_EX_LAYERED) ; Mettre l'attribut WS_EX_LAYERED à la fenêtre EndProced...
by Mesa
Wed Feb 07, 2024 11:10 am
Forum: Coding Questions
Topic: Waiting Screen with transparent background
Replies: 20
Views: 1145

Re: Waiting Screen with transparent background

Maybe like that, windows only + api. I think you can use a gif too. Procedure.l SetLayeredWindow(WindowID) ; Mettre l'attribut WS_EX_LAYERED à la fenêtre SetWindowLong_(WindowID, #GWL_EXSTYLE, GetWindowLong_(WindowID, #GWL_EXSTYLE) | #WS_EX_LAYERED) ; Mettre l'attribut WS_EX_LAYERED à la fenêtre End...
by Mesa
Tue Feb 06, 2024 9:29 am
Forum: Coding Questions
Topic: Waiting Screen with transparent background
Replies: 20
Views: 1145

Re: Waiting Screen with transparent background

Like that: Procedure Rotate(*oldPos.Point, *RotationCenter.Point, angle.f, *newPos.Point) Protected xM, yM angle = angle * #PI / 180 xM = *oldPos\x - *RotationCenter\x yM = *oldPos\y - *RotationCenter\y *newPos\x = Round(xM * Cos(angle) + yM * Sin(angle) + *RotationCenter\x, #PB_Round_Nearest) *newP...
by Mesa
Thu Jan 18, 2024 4:15 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 325
Views: 40442

Re: PureBasic 6.10 beta 2 - Xmas Release - is out !

Same problem with Windows 10 but if you add

Code: Select all

WebGadget(1, 00, 00, 00, 00,"https://www.purebasic.fr")
before the "repeat", then it works !

Mesa.