... None: Hides the selection frame.
; - #SelectionStyle_Solid: continuous line.
; - #SelectionStyle_Dotted: Dotted line.
; - #SelectionStyle_Dashed ... objects that are in the list.
; Does not work if the FreeObject() command is placed in the previous loop or the elements are placed in the list ...
Search found 3491 matches: command line help
Searched query: +command +line +help
- Mon Nov 17, 2025 12:57 am
- Forum: Tricks 'n' Tips
- Topic: EditorFactory - Module for object management in a Canvas
- Replies: 239
- Views: 111644
- Mon Nov 03, 2025 8:01 am
- Forum: Bugs - Mac OSX
- Topic: [DONE] Installed PB6.21 on MacOS Tahoe 26.0.1. I can't close IDE?
- Replies: 5
- Views: 644
Re: Installed PB6.21 on MacOS Tahoe 26.0.1. I can't close IDE?
... for production builds. Unfortunatelly, Fred dropped LTS versions and so I will stay with this for the moment. The command line compiler works fine.
- Wed Oct 29, 2025 8:25 pm
- Forum: Coding Questions
- Topic: minimize+Restore Loses all my gadgets
- Replies: 31
- Views: 1511
Re: minimize+Restore Loses all my gadgets
Why are you using API calls instead of the SetWindowState() command?
Such a good question! Primarily because I didn't know that was an available option.
Now that I know and have tried it, my new command line to replace the API is:
SetWindowState(#Window_0,#PB_Window_Minimize)
That does indeed ...
- Thu Oct 16, 2025 9:04 am
- Forum: Coding Questions
- Topic: Open Containing File Folder
- Replies: 8
- Views: 635
Re: Open Containing File Folder
... bit out yourself. :shock:
I only ran that one line I suggested on it's own. I was just trying to ... I'm just guessing at the moment. :?:
The help file says that the last parameter is the working ... the third, even if it's empty, else the RunProgram() command doesn't work, in my experience.
Moulder.
I only ran that one line I suggested on it's own. I was just trying to ... I'm just guessing at the moment. :?:
The help file says that the last parameter is the working ... the third, even if it's empty, else the RunProgram() command doesn't work, in my experience.
Moulder.
- Mon Oct 13, 2025 9:44 pm
- Forum: Mac OSX
- Topic: Compatibility issue between binaries compiled on M2 and i5
- Replies: 7
- Views: 1125
Re: Compatibility issue between binaries compiled on M2 and i5
I don't have an M2 Mac, but you would also have to install the PB version for Intel and the command line tools for Intel.
Then there is an Xcode Tool to combine both programs in one app. Been here in the forum, but can't find it again.
I don't know exactly how to do that.
Then there is an Xcode Tool to combine both programs in one app. Been here in the forum, but can't find it again.
I don't know exactly how to do that.
- Sat Oct 11, 2025 2:38 pm
- Forum: General Discussion
- Topic: Looking for Suggestions
- Replies: 13
- Views: 2036
Re: Looking for Suggestions
Hi
The data is transferred as a line of ascii text that must be acknowledged before the next line is sent. This just happens to be the way the ... starts via my program connecting to the machine via TCP and issuing a command that triggers the equipment to start sending the data. This process ...
The data is transferred as a line of ascii text that must be acknowledged before the next line is sent. This just happens to be the way the ... starts via my program connecting to the machine via TCP and issuing a command that triggers the equipment to start sending the data. This process ...
- Thu Oct 09, 2025 3:45 pm
- Forum: Bugs - Windows
- Topic: ScreenGadget bugs
- Replies: 22
- Views: 3409
Re: ScreenGadget bugs
... with sprits with 3d on Linux as below code works (commented out all 3d commands), but I also had to add ClearScreen command too for it to work (see ... OS = #PB_OS_Windows
VectorSourceGradientColor(c3, 0.9)
; This line doesn't work on OSX and MacOS, it makes the whole UI transparent ...
VectorSourceGradientColor(c3, 0.9)
; This line doesn't work on OSX and MacOS, it makes the whole UI transparent ...
- Tue Oct 07, 2025 6:53 pm
- Forum: Tricks 'n' Tips
- Topic: [Win only] Small PowerShell script for context-sensitive searching in Microsoft Learn and the PureBasic Forums
- Replies: 3
- Views: 1034
[Win only] Small PowerShell script for context-sensitive searching in Microsoft Learn and the PureBasic Forums
... a new tool
- Enter the following values:
Name: e.g. WinAPI Search
Command line: powershell.exe
Arguments: (This is where the PowerShell script below goes)
Event: Menu or Shortcut
Shortcut: e.g. Alt + F1
Hidden start: enable this option so the PowerShell window doesn’t pop up.
PowerShell ...
- Enter the following values:
Name: e.g. WinAPI Search
Command line: powershell.exe
Arguments: (This is where the PowerShell script below goes)
Event: Menu or Shortcut
Shortcut: e.g. Alt + F1
Hidden start: enable this option so the PowerShell window doesn’t pop up.
PowerShell ...
- Mon Oct 06, 2025 7:01 pm
- Forum: Coding Questions
- Topic: Strange behavior of Editor with the WordWrap flag
- Replies: 11
- Views: 1132
Strange behavior of Editor with the WordWrap flag
Hi, all.
I need to code an editor so that each line contains no more than n characters. For this I used a monospaced font and calculated the required ... by one, adding #CRLS$ between them. But why doesn't the GetGadgetText() command do this ? I don't know if this is a bug.
If OpenWindow(0, 0, 0, 322 ...
I need to code an editor so that each line contains no more than n characters. For this I used a monospaced font and calculated the required ... by one, adding #CRLS$ between them. But why doesn't the GetGadgetText() command do this ? I don't know if this is a bug.
If OpenWindow(0, 0, 0, 322 ...
- Fri Oct 03, 2025 3:49 pm
- Forum: Bugs - Windows
- Topic: ResizeWindow don't work with Debugger
- Replies: 3
- Views: 880
ResizeWindow don't work with Debugger
... source from topic "Window" and insert CallDebugger after OpenWindow command and commented two lines with MessageRequester
After run with debugger program stoped on CallDebugger line, I press Continue, but now Window don't change X and Y coordinates, only sizes
If I commented CallDebugger line the ...
After run with debugger program stoped on CallDebugger line, I press Continue, but now Window don't change X and Y coordinates, only sizes
If I commented CallDebugger line the ...
- Wed Oct 01, 2025 12:45 pm
- Forum: Bugs - Windows
- Topic: [Done] PureUnit triggers GUI alert on fail
- Replies: 4
- Views: 1253
[Done] PureUnit triggers GUI alert on fail
... when calling PureUnit.exe from the command line.
Test case
test.pbi
Procedure MyProcedure()
Assert(#False)
EndProcedure
DeclareModule MyModule
Declare MyProcedure()
EndDeclareModule ... or Fail() inside a module? Typically a TestHelper module to make testing easier. Calling Assert ...
Test case
test.pbi
Procedure MyProcedure()
Assert(#False)
EndProcedure
DeclareModule MyModule
Declare MyProcedure()
EndDeclareModule ... or Fail() inside a module? Typically a TestHelper module to make testing easier. Calling Assert ...
- Sat Sep 27, 2025 10:08 pm
- Forum: Applications - Feedback and Discussion
- Topic: [Module] SVG - Module (all OS)
- Replies: 12
- Views: 8119
Re: [Module] SVG - Module (all OS)
... OR THE USE OR OTHER DEALINGS IN THE
; SOFTWARE.
;}
;{ _____ Module - Commands _____
; SVG::Load() - similar to LoadImage()
; SVG::Resize ... file from an SVG image
;}
; ***** If CreateIcon is not required, this line can be commented out. *****
;CompilerIf Not Defined(Icon, #PB_Module ...
; SOFTWARE.
;}
;{ _____ Module - Commands _____
; SVG::Load() - similar to LoadImage()
; SVG::Resize ... file from an SVG image
;}
; ***** If CreateIcon is not required, this line can be commented out. *****
;CompilerIf Not Defined(Icon, #PB_Module ...
- Sat Sep 27, 2025 4:14 pm
- Forum: Coding Questions
- Topic: Command line compiler with #PB_Editor_CreateExecutable...
- Replies: 2
- Views: 318
Re: Command line compiler with #PB_Editor_CreateExecutable...
The question is how can I use them with the IDE values.
The help shows me this, but I don't have the IDE-internal counter values.
The help shows me this, but I don't have the IDE-internal counter values.
Code: Select all
/CONSTANT MyConstant=10
- Sat Sep 27, 2025 4:09 pm
- Forum: Coding Questions
- Topic: Command line compiler with #PB_Editor_CreateExecutable...
- Replies: 2
- Views: 318
Re: Command line compiler with #PB_Editor_CreateExecutable...
These constants are added by the IDE using the parameter /CONSTANT on the compiler command line.
https://www.purebasic.com/documentation ... piler.html
https://www.purebasic.com/documentation ... piler.html
- Sat Sep 27, 2025 4:00 pm
- Forum: Coding Questions
- Topic: Command line compiler with #PB_Editor_CreateExecutable...
- Replies: 2
- Views: 318
Command line compiler with #PB_Editor_CreateExecutable...
Using the command line compiler with source code that contains the following line results in an error.
#ProgramVersion$ = "0." + #PB_Editor_BuildCount + "." + #PB_Editor_CompileCount
I've thrown together the following for this message.
EnableExplicit
; Error with external compiler use ...
#ProgramVersion$ = "0." + #PB_Editor_BuildCount + "." + #PB_Editor_CompileCount
I've thrown together the following for this message.
EnableExplicit
; Error with external compiler use ...