Search found 15 matches

by WoodLark
Fri Jun 18, 2010 9:21 pm
Forum: The PureBasic Form Designer
Topic: Does Visual Designer actually work in Linux?
Replies: 18
Views: 9547

Re: Does Visual Designer actually work in Linux?

I have spent the afternoon playing with the Visual designer in Arch Linux (Gnome).

So far, I have observed the following behavior:

The grid cannot be made visible (although gadgets do appear to snap to the grid).

None of the keyboard shortcuts work. Everything has to be done with the mouse ...
by WoodLark
Fri Jun 18, 2010 3:16 pm
Forum: The PureBasic Form Designer
Topic: Does Visual Designer actually work in Linux?
Replies: 18
Views: 9547

Re: Does Visual Designer actually work in Linux?

Thanks Vera and Cookman!

I tried the method Vera described and it works (once I realized that the gadget is created with zero dimensions so you can't see it until you drag the mouse a little ways) :D .

I downloaded the help file, and will install gnochm since I use Gnome. :D
by WoodLark
Thu Jun 17, 2010 9:26 pm
Forum: The PureBasic Form Designer
Topic: Does Visual Designer actually work in Linux?
Replies: 18
Views: 9547

Does Visual Designer actually work in Linux?

I downloaded and installed the latest version of the Visual Designer in Arch Linux.

The Visual Designer opens and displays a Window0, but I am unable to put anything into the window. HELP does not work so I can't tell if I am using it correctly or not.

I've tried double-clicking on the Gadget ...
by WoodLark
Tue Jun 15, 2010 12:39 pm
Forum: Coding Questions
Topic: Can default for a Structure be a null?
Replies: 16
Views: 4749

Re: Can default for a Structure be a null?

GBeebe,

Since you also program in Linux, let me ask you an off-topic question. Is there a way (other than WINE or something similar) to use PureForm in Linux? The only download I have seen for PureForm is a Windows .EXE.
by WoodLark
Mon Jun 14, 2010 12:15 pm
Forum: Coding Questions
Topic: Can default for a Structure be a null?
Replies: 16
Views: 4749

Re: Can default for a Structure be a null?

Not a problem, WoodLark. I'm still amazed that you've been a member since '05 and up until today, you've only had 6 posts.

When I joined in '05, I was gainfully employed and was required to use vb.net. Since I retired, I've only written one small Purebasic app, but now I decided to take on a more ...
by WoodLark
Mon Jun 14, 2010 3:08 am
Forum: Coding Questions
Topic: Can default for a Structure be a null?
Replies: 16
Views: 4749

Re: Can default for a Structure be a null?

Thank you GBeebe,

I think I understand now. I'll give it a try.
by WoodLark
Mon Jun 14, 2010 1:46 am
Forum: Coding Questions
Topic: Can default for a Structure be a null?
Replies: 16
Views: 4749

Re: Can default for a Structure be a null?

I am not making myself clear; I apologize. Here (I hope) is a better example of what I am trying to accomplish:

Structure ARecord
field1.q
field2.q
field3.s
EndStructure

Procedure FindRec(db, MyRecord.ARecord )
If MyRecord
;Do something
Else ; none of the variables in the structure have been ...
by WoodLark
Sun Jun 13, 2010 8:01 pm
Forum: Coding Questions
Topic: Can default for a Structure be a null?
Replies: 16
Views: 4749

Re: Can default for a Structure be a null?

Thank you Trond,

I fear I'm not using the proper method. I want to be able to pass a structure to the procedure, but need to handle the case where no values have been defined within the structure.
Would this work?

Procedure FindRec(db,RecStructure)
If RecStructure
....
Else
....
Endif

or ...
by WoodLark
Sun Jun 13, 2010 6:56 pm
Forum: Coding Questions
Topic: Can default for a Structure be a null?
Replies: 16
Views: 4749

Can default for a Structure be a null?

Is this a valid procedure declaration in Purebasic 4.50?

Procedure FindRecords(db, recstructure = #NULL)
...
EndProcedure

Where db is a database handle and recstructure is a structure.

My question is actually "Can the default value for a structure be a NULL?"
by WoodLark
Thu Dec 06, 2007 8:57 pm
Forum: Off Topic
Topic: Stealing XP > Vista - Microsoft doesn't know how to feel
Replies: 13
Views: 2557

PB wrote:> I don't like all the extra registry entries, files, etc. that are left over after
> uninstalling software
I used to be a System Administrator for a network of about 300 Windows computers. I got fed up with Registry issues, that's why (one of several reasons) I prefer Slackware.
by WoodLark
Thu Dec 06, 2007 1:54 pm
Forum: Off Topic
Topic: Stealing XP > Vista - Microsoft doesn't know how to feel
Replies: 13
Views: 2557

Actually, I'd rather have Windows 2000 Pro than either XP or Vista! :roll: Then again, Slackware beats them all.
by WoodLark
Wed Nov 28, 2007 2:22 am
Forum: Coding Questions
Topic: Enter key in Listview
Replies: 7
Views: 2457

Thanks for the help everybody!

netmaestro: The SetTimer solution was just what I needed. :D
by WoodLark
Tue Nov 27, 2007 8:25 pm
Forum: Coding Questions
Topic: Enter key in Listview
Replies: 7
Views: 2457

@netmaestro: Thanks, your code worked great, but it left me with another issue .Here is my code:
window_nr = OpenWindow(#PB_Any,0,0,250,180,"Calendar Year",#PB_Window_ScreenCentered)
If window_nr > 0
window_id = WindowID(window_nr)
CreateGadgetList(window_id)
ListViewGadget(0,10,10,250,120 ...
by WoodLark
Tue Nov 27, 2007 6:18 pm
Forum: Coding Questions
Topic: Enter key in Listview
Replies: 7
Views: 2457

Enter key in Listview

I am just getting started with PureBasic and have written a small windows program. After correcting some errors, the program compiles and runs fine with one small "niggle".

I am using a ListviewGadget and two ButtonGadgets. I can use the mouse or keyboard to move up and down the list and can use ...
by WoodLark
Thu Apr 14, 2005 1:48 pm
Forum: Linux
Topic: Linux PB & Firebird
Replies: 0
Views: 1418

Linux PB & Firebird

Is anyone using PB with Linux and the Firebird database. If so, I would be interested in any hints or suggestions you might have.