Search found 27 matches
- Sat Aug 16, 2008 2:32 am
- Forum: Coding Questions
- Topic: How to retrieve text from dynamically created menu
- Replies: 11
- Views: 1658
- Fri Aug 15, 2008 3:01 pm
- Forum: Coding Questions
- Topic: How to retrieve text from dynamically created menu
- Replies: 11
- Views: 1658
- Fri Aug 15, 2008 2:39 pm
- Forum: Coding Questions
- Topic: How to retrieve text from dynamically created menu
- Replies: 11
- Views: 1658
How to retrieve text from dynamically created menu
Hope someone can help. I have the following function which builds a menu structure and adds from zero 'recent folders' (directory paths) to many items. The directory paths are retrieved from a linked list.
Procedure BuildMenu()
If CreateMenu(#MENU_BAR, WindowID(#WIN_MAIN))
MenuTitle("File ...
Procedure BuildMenu()
If CreateMenu(#MENU_BAR, WindowID(#WIN_MAIN))
MenuTitle("File ...
- Wed Aug 13, 2008 1:36 am
- Forum: Coding Questions
- Topic: Create menu items after window opened
- Replies: 2
- Views: 815
- Tue Aug 12, 2008 3:36 am
- Forum: Coding Questions
- Topic: Create menu items after window opened
- Replies: 2
- Views: 815
Create menu items after window opened
Is it possible to create menu items after the initial window/menu creation routine.
What I'm wanting to do, for tutorial purposes, is create or add menu items to an already created menu structure ie 'recent folders' menu item under the 'File' menu.
If this is possible, any chance of a quick ...
What I'm wanting to do, for tutorial purposes, is create or add menu items to an already created menu structure ie 'recent folders' menu item under the 'File' menu.
If this is possible, any chance of a quick ...
- Sat Aug 02, 2008 7:46 am
- Forum: Coding Questions
- Topic: Editing PDF files
- Replies: 4
- Views: 1229
Thanks for replies and I've briefly checked out PurePDF.
I use Foxit, is heaps better than Acrobat, quicker and smaller.
To expand a little further, what I'm wanting to do is in batch fashion, edit pdf files residing in a particular directory. The process would be to open each pdf file and insert ...
I use Foxit, is heaps better than Acrobat, quicker and smaller.
To expand a little further, what I'm wanting to do is in batch fashion, edit pdf files residing in a particular directory. The process would be to open each pdf file and insert ...
- Fri Aug 01, 2008 11:52 am
- Forum: Coding Questions
- Topic: Editing PDF files
- Replies: 4
- Views: 1229
Editing PDF files
Can someone point me in the right direction. Is it possible, using PB, to edit PDF files. What I'm wanting to do is simply whack some text in either the header or footer area of the document.
- Wed Jul 30, 2008 2:47 am
- Forum: Coding Questions
- Topic: How to enable and disable button gadget
- Replies: 3
- Views: 1517
- Wed Jul 30, 2008 2:35 am
- Forum: Coding Questions
- Topic: How to enable and disable button gadget
- Replies: 3
- Views: 1517
How to enable and disable button gadget
I know I'll be kicking myself when the answer arrives but how do you set a button gadget to be enabled or disabled (active - can be clicked or inactive - can't be clicked).
- Sat Jul 19, 2008 1:10 pm
- Forum: Coding Questions
- Topic: Method to sort ListIconGadget
- Replies: 1
- Views: 815
Method to sort ListIconGadget
Ok, I'm populating a ListIconGadget with a list of files from a directory. The intention being to batch rename the files. An obvious option is to sort the files by name or date etc. prior to passing the files through a rename procedure.
It's the sorting bit that I'm stumbling on. What are my ...
It's the sorting bit that I'm stumbling on. What are my ...
- Sat Jul 19, 2008 12:30 pm
- Forum: Coding Questions
- Topic: ListIconGadget - how to cycle through [Solved]
- Replies: 4
- Views: 1254
- Sat Jul 19, 2008 10:09 am
- Forum: Coding Questions
- Topic: ListIconGadget - how to cycle through [Solved]
- Replies: 4
- Views: 1254
ListIconGadget - how to cycle through [Solved]
I'm new to PB and for tutorial purposes I'm creating a simple batch file rename program.
I'm using the gadgets, ExplorerTree and ListIconGadget (for the multiple columns). So far I can navigate via the ExplorerTree gadget and populate the ListIconGadget with a listing of files (filename & date ...
I'm using the gadgets, ExplorerTree and ListIconGadget (for the multiple columns). So far I can navigate via the ExplorerTree gadget and populate the ListIconGadget with a listing of files (filename & date ...
- Tue Jul 15, 2008 12:30 pm
- Forum: Coding Questions
- Topic: text.s + "whatever" not working.
- Replies: 8
- Views: 2052
- Mon Jul 14, 2008 2:12 pm
- Forum: Coding Questions
- Topic: text.s + "whatever" not working.
- Replies: 8
- Views: 2052
text.s + "whatever" not working.
The following is from the book, Purebasic - A beginners guide, but the end result is not as per the book. As written, the message box appears, for me, under Vista, only refers to the last Text.s + "Error occurred in module..." part and only the variable portion, GetErrorModuleName(). That is the ...
- Mon Jun 23, 2008 2:32 pm
- Forum: General Discussion
- Topic: Coming to grips with Purebasic
- Replies: 9
- Views: 2684
Thanks all, it gives me something to work with.
I'm seeing similarities with C++ where all the prototypes must be defined prior to the calling of the "main()" program, though in Purebasic's case it's the entire definition of the procedures and functions prior to calling the main loop (or starting ...
I'm seeing similarities with C++ where all the prototypes must be defined prior to the calling of the "main()" program, though in Purebasic's case it's the entire definition of the procedures and functions prior to calling the main loop (or starting ...