[Gambas-user] Sending direct to printer

2008-08-10 Thread richard terry
I'm using the webbrowser component to display forms I'm making out of html, and then the print function from this, but of course if pops up the print dialog. I wondered how to send something directly to a user-defined printer? Any help appreciated. thanks Richard ---

Re: [Gambas-user] Passing a Form as a parameter question.

2008-08-10 Thread Benoit Minisini
On samedi 09 août 2008, richard terry wrote: > I've separated out the code that accesses my databases schemas, into > different modules for maintainability purposes, which I append with the > letters DBI (which stands for in my terminology - database interface - I'm > not using the built-in datac

Re: [Gambas-user] listview/columnview key as string question

2008-08-10 Thread Benoit Minisini
On dimanche 10 août 2008, richard terry wrote: > Often wondered 2 things about this. > > 1) Why in listview the popup prompt the order is key, string, but in > column view it is varient, key. Do you have a screenshot for that? > > 2) Why, when the popup prompt says it wants a string as the key,

[Gambas-user] listview/columnview key as string question

2008-08-10 Thread richard terry
Often wondered 2 things about this. 1) Why in listview the popup prompt the order is key, string, but in column view it is varient, key. 2) Why, when the popup prompt says it wants a string as the key, it will accept integer values. See piccie, in this case my $Result!prodcode is an integer v

[Gambas-user] Passing a Form as a parameter question.

2008-08-10 Thread richard terry
I've separated out the code that accesses my databases schemas, into different modules for maintainability purposes, which I append with the letters DBI (which stands for in my terminology - database interface - I'm not using the built-in datacontrols) The module may for example retrieve data

[Gambas-user] Dim keyword in a KeyPress event

2008-08-10 Thread richard terry
I wondered about the use of Dim within a keypress event e.g: Public Sub EditArea_KeyPress() Dim x as integer BLA BLA DO WHATEVER End And whether or not this was bad practice, or if one should use a public variable declared at the top of the program. Regards Richard --