Search found 303 matches
- Wed Oct 18, 2023 5:43 pm
- Forum: Coding Questions
- Topic: Can’t get DrawText to print on proper row.
- Replies: 6
- Views: 703
Re: Can’t get DrawText to print on proper row.
I tried the StartVectorDrawing() but no difference? Can't figure out why a simple change of printers creates such a problem?
- Mon Oct 16, 2023 2:34 am
- Forum: Coding Questions
- Topic: Can’t get DrawText to print on proper row.
- Replies: 6
- Views: 703
Re: Can’t get DrawText to print on proper row.
Thanks infratec. I'll give that a try.
- Sun Oct 15, 2023 7:19 pm
- Forum: Coding Questions
- Topic: Can’t get DrawText to print on proper row.
- Replies: 6
- Views: 703
Re: Can’t get DrawText to print on proper row.
Thank you for you response mk-soft.
If the printer has a different DPI, how can I compensate for that in my program? Changing the DrawText() does seen to have any affect.
Thanks
If the printer has a different DPI, how can I compensate for that in my program? Changing the DrawText() does seen to have any affect.
Thanks
- Sun Oct 15, 2023 6:20 pm
- Forum: Coding Questions
- Topic: Can’t get DrawText to print on proper row.
- Replies: 6
- Views: 703
Can’t get DrawText to print on proper row.
I wrote a program a couple of years ago and it printed in the proper column and row of my form using DrawText(710, 720, pr1). Since then I got a new printer and it is not printing in the correct row on my form any more.
The code is as follows:
Pr1 = "Winning team: " + ws_win
DrawingFont(FontID(0 ...
The code is as follows:
Pr1 = "Winning team: " + ws_win
DrawingFont(FontID(0 ...
- Tue Oct 19, 2021 7:57 pm
- Forum: Coding Questions
- Topic: Executable will only run on source computer.
- Replies: 3
- Views: 1410
Re: Executable will only run on source computer.
That worked. Thanks HeXOR, much appreciated.
- Tue Oct 19, 2021 6:46 pm
- Forum: Coding Questions
- Topic: Executable will only run on source computer.
- Replies: 3
- Views: 1410
Executable will only run on source computer.
I created a small database to track my wife's vitals and compiled it to an .exe. I double click the .exe and it runs perfectly.
I then copied the .exe over to my other computer and it will not run. It loads the screen but then the screen goes gray and I get a dialog that says the program has stopped ...
I then copied the .exe over to my other computer and it will not run. It loads the screen but then the screen goes gray and I get a dialog that says the program has stopped ...
- Tue Jun 15, 2021 5:25 pm
- Forum: Coding Questions
- Topic: How do I get the rowID of all records found using Count(*) WHERE…
- Replies: 6
- Views: 1502
Re: How do I get the rowID of all records found using Count(*) WHERE…
Thank you again captain_skank. That works fine.
- Tue Jun 15, 2021 6:27 am
- Forum: Coding Questions
- Topic: Can I pass a variable from one tab to another in a panel?
- Replies: 8
- Views: 1946
Re: Can I pass a variable from one tab to another in a panel?
Thank you very much Chris. I'll give that a go.
Cheers!
Cheers!
- Tue Jun 15, 2021 12:10 am
- Forum: Coding Questions
- Topic: How do I get the rowID of all records found using Count(*) WHERE…
- Replies: 6
- Views: 1502
Re: How do I get the rowID of all records found using Count(*) WHERE…
Thank you very much. I'll give that a try.
Cheers!
Cheers!
- Tue Jun 15, 2021 12:01 am
- Forum: Coding Questions
- Topic: Can I pass a variable from one tab to another in a panel?
- Replies: 8
- Views: 1946
Re: Can I pass a variable from one tab to another in a panel?
When the user is in Tab1, which has all of the StringGadgets populated, I want it to copy the contents of two StringGadgets in Tab1 to two StringGadgets in Tab2 as soon as the user clicks on Tab2 and Tab2 opens.
Thanks.
Thanks.
- Sun Jun 13, 2021 11:19 pm
- Forum: Coding Questions
- Topic: How do I get the rowID of all records found using Count(*) WHERE…
- Replies: 6
- Views: 1502
Re: How do I get the rowID of all records found using Count(*) WHERE…
select [ColumnName, ...] from [table] where [filters]
I'm not sure how I should code that to get the rowid of each record found.
I tried this:
lname = "Zorro"
DatabaseQuery(#dbaseID, "SELECT count(*) FROM member Where lastname = '"+ lname +"'")
NextDatabaseRow(#dbaseID)
maxRec = Val ...
I'm not sure how I should code that to get the rowid of each record found.
I tried this:
lname = "Zorro"
DatabaseQuery(#dbaseID, "SELECT count(*) FROM member Where lastname = '"+ lname +"'")
NextDatabaseRow(#dbaseID)
maxRec = Val ...
- Sun Jun 13, 2021 9:52 pm
- Forum: Coding Questions
- Topic: How do I get the rowID of all records found using Count(*) WHERE…
- Replies: 6
- Views: 1502
How do I get the rowID of all records found using Count(*) WHERE…
How do I get the rowID of all records found using Count(*) FROM member WHERE lastname = '" + lname + "'")
- Sun Jun 13, 2021 5:04 pm
- Forum: Coding Questions
- Topic: Can I pass a variable from one tab to another in a panel?
- Replies: 8
- Views: 1946
Re: Can I pass a variable from one tab to another in a panel?
Thanks Barry, I tried that but it does not work. The fields in each Tab are set up in a container. I'm wondering if that somehow affects copying GadgetText from one Tab to another?
Here is how the panel is set up.
PanelGadget(#mainPanel, centerPanel, 25, 1040, 630) ;was 120
;--------[ Get ...
Here is how the panel is set up.
PanelGadget(#mainPanel, centerPanel, 25, 1040, 630) ;was 120
;--------[ Get ...
- Sun Jun 13, 2021 2:52 am
- Forum: Coding Questions
- Topic: Can I pass a variable from one tab to another in a panel?
- Replies: 8
- Views: 1946
Re: Can I pass a variable from one tab to another in a panel?
I have a Paneladget with 4 tabs. In the first tab I have a number of StringGadgets. In the second tab I also have a number of StringGadgets. I would like to be able to get the text from one of the string Gadgets in the first tab, and place it into one of the StringGadgets in the second tab. I ...
- Sun Jun 13, 2021 1:11 am
- Forum: Coding Questions
- Topic: Can I pass a variable from one tab to another in a panel?
- Replies: 8
- Views: 1946
Can I pass a variable from one tab to another in a panel?
Is it possible to pass a variable from one tab to another tab in a PanelGadget?