Search found 2080 matches

by AZJIO
Fri Jul 25, 2025 7:41 am
Forum: Coding Questions
Topic: Drop-down menu on hover (?)
Replies: 16
Views: 653

Re: Drop-down menu on hover (?)

RASHAD
Thanks for the example, I was able to integrate the code into my program .

The wrong topic wrote the first time

1. But I have a problem, the context menu of the window does not open in the left side of the window, with the items "On the Program", "Open the Ini File" and "Exit". I still ...
by AZJIO
Fri Jul 25, 2025 1:47 am
Forum: The PureBasic Editor
Topic: IDE Markers (Feature request)
Replies: 3
Views: 615

Re: IDE Markers (Feature request)

I like the bookmarks in AkelPad because they have a convenient menu that can be accessed from the bookmarks field.

Image
by AZJIO
Fri Jul 25, 2025 1:13 am
Forum: Applications - Feedback and Discussion
Topic: GlobalAutoCompletion (Linux (?))
Replies: 14
Views: 11693

Re: GlobalAutoCompletion (Linux (?))

Download

The update was performed due to the purchase of a new computer and the installation of Windows 11. Some automation programs became unstable due to the high speed.

Added files for the English language: AutoCompletionIDE-Black-En.pb and AutoCompletionIDE-x64-Black-En.exe ...
by AZJIO
Thu Jul 24, 2025 11:07 pm
Forum: Feature Requests and Wishlists
Topic: The IIF function
Replies: 4
Views: 180

Re: The IIF function

Procedure.s IIF(expr, truepart.s, falsepart.s)
If expr
ProcedureReturn truepart
Else
ProcedureReturn falsepart
EndIf
EndProcedure

Global result.s, userInput.a = 1
result.s = IIF(userInput & 1, "Odd", "Even")
Debug "The number is " + result

Global Points = 1
MessageRequester("Current score is ...
by AZJIO
Thu Jul 24, 2025 10:54 pm
Forum: Feature Requests and Wishlists
Topic: The IIF function
Replies: 4
Views: 180

Re: The IIF function

PureAutoIt

Code: Select all

Macro IIf(expr, truepart, falsepart=__expr_null__.b)
	If expr
		truepart
	Else
		falsepart
	EndIf
EndMacro
bds107 wrote: Thu Jul 24, 2025 9:50 pm

Code: Select all

result.s = IIF(userInput MOD 2 = 0, "Even", "Odd")

Code: Select all

result.s = n & 1
by AZJIO
Tue Jul 22, 2025 11:29 pm
Forum: General Discussion
Topic: Regular expressions with links to groups
Replies: 2
Views: 4535

Re: Regular expressions with links to groups

I have added groups greater than 9. Now you can specify a group \15 or \{15}, and if there are numbers in the text that will interfere, you can specify the number in curly brackets, for example: \{1}5. Here is a group 1, not 15.
; AZJIO
; https://www.purebasic.fr/english/viewtopic.php?p=575871 ...
by AZJIO
Sun Jul 20, 2025 6:23 pm
Forum: Coding Questions
Topic: Drop-down menu on hover (?)
Replies: 16
Views: 653

Re: Drop-down menu on hover (?)


I hate having to be repetitive, but YOU DON'T HAVE A MAC! :x (doesn't compile here)

I'm writing a DBar utility , and I need the code for it. I don't think it's possible to write a cross-platform version, as there's a window that pops up when you hover over the top of the screen.
I bought a new ...
by AZJIO
Sat Jul 19, 2025 7:46 am
Forum: Coding Questions
Topic: Drop-down menu on hover (?)
Replies: 16
Views: 653

Drop-down menu on hover (?)

What am I doing wrong?

EnableExplicit

#Window = 0
Enumeration
#Menu1
#Menu2
EndEnumeration

Enumeration
#btn1
#btn2
EndEnumeration

Structure Point64
StructureUnion
p.POINT
q.q
EndStructureUnion
EndStructure

Global hGUI

Procedure ChangeButton()
Protected id_menu, hwndWFP, cursor ...
by AZJIO
Thu Jul 03, 2025 1:03 pm
Forum: Tricks 'n' Tips
Topic: For OBS Studio-Filter-Carding
Replies: 0
Views: 142

For OBS Studio-Filter-Carding

I record videos in the "OBS Studio" program. To record a part of the screen, I need to add the "Cropping" filter and specify the padding from the sides of the screen. To simplify the task, I have made calculations.
I've added an adjustment for transparent areas at the edges, as shadows are ...
by AZJIO
Thu Jul 03, 2025 9:40 am
Forum: Game Programming
Topic: Game test v0.01
Replies: 33
Views: 1344

Re: Game test v0.01

minimy wrote: Wed Jul 02, 2025 2:54 pm Videos are in my server, no ads (youtube aghhh!)
No access, but maybe you could upload it to YouTube? I have a "Ublock Origin", so there is no advertisement.
by AZJIO
Tue Jul 01, 2025 4:10 pm
Forum: Coding Questions
Topic: Opening/Activating current sourcefile folder, even in Windows 11
Replies: 28
Views: 790

Re: Opening/Activating current sourcefile folder, even in Windows 11

Denis wrote: Tue Jul 01, 2025 4:00 pm I don't really like heat
I think no one likes the heat. A couple of years ago, we had 36° heat all summer, all the grass was dry, and the fields were yellow. This summer, there's been a lot of rain, and even the cucumbers are growing, even though they need heat. The forecast for July is 23-26°.
by AZJIO
Tue Jul 01, 2025 3:51 pm
Forum: Coding Questions
Topic: Opening/Activating current sourcefile folder, even in Windows 11
Replies: 28
Views: 790

Re: Opening/Activating current sourcefile folder, even in Windows 11


Again, what’s your point exactly?

The SetForegroundWindow_ function gave me an error 9 times out of 10 in the programs I was using. The option I suggested gave me an error 0 times out of 10. Therefore, I permanently switched to the new function.


les températures sont caniculaires!

I googled ...
by AZJIO
Tue Jul 01, 2025 2:56 pm
Forum: Coding Questions
Topic: Opening/Activating current sourcefile folder, even in Windows 11
Replies: 28
Views: 790

Re: Opening/Activating current sourcefile folder, even in Windows 11

SetForegroundWindow_
Try this one: viewtopic.php?t=7424
Keep in mind that the PureBasic option not only opens the folder, but also highlights the file within it.
by AZJIO
Tue Jul 01, 2025 2:43 pm
Forum: Coding Questions
Topic: Opening/Activating current sourcefile folder, even in Windows 11
Replies: 28
Views: 790

Re: Opening/Activating current sourcefile folder, even in Windows 11

You mention that you use the text in the title. I suggest taking the text from the address bar.
The window class is different in different versions of Windows. I don't see a Windows version request in your code.