Search found 1104 matches

by Gablea
Jan 13, 2019 16:48
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 4785

Re: Where to put keyboard code

grindstone wrote:
Gablea wrote:I could post the source code here if anyone could translate it to FB.
I volunteer.
Thank you so much grindstone I’ll upload it once I get to my PC
by Gablea
Jan 13, 2019 11:56
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 4785

Re: Where to put keyboard code

Thank you for the other examples. And badidea I’ve never had a problem with the scanners as they have always sent the end chr (chr(13) they can do a lot more then just send a barcode as they also have a scale connected. I was sent a small C program that reads the scanner data and splits off either t...
by Gablea
Jan 12, 2019 20:27
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 4785

Re: Where to put keyboard code

The Scanner commuicates to the system via RS232 but outputs acual ascii codes This is what i have used in the past to control the scanner Sub SaleScreen ScannerFucntion = "SaleScreen" ScreenLock SalescreenDisplay 'Displays the graphical bmp image of the sale screen DisplaySalescreenMenu(Me...
by Gablea
Jan 12, 2019 20:17
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 4785

Re: Where to put keyboard code

No screenset nor threading: Time keeps running while typing :-p That was just want I was looking for (could I use that to control a RS232 scanner) Now I just have to work out how to use your code badidea :D or could I throw the Scanner code into a thread on its own? (I know threads would mean I cou...
by Gablea
Jan 12, 2019 20:13
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 4785

Re: Where to put keyboard code

Keeping it dead simple Gablea, forget screenset, I see no flicker here. #include "fbgfx.bi" #include "vbcompat.bi" Using FB '' Screen mode flags are in the FB namespace in lang FB Declare Sub DisplayBackground(as string)' (ByVal CurrentTime As String, ByVal CurrentDate As String...
by Gablea
Jan 12, 2019 19:11
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 4785

Re: Where to put keyboard code

fxm wrote:Yes.
Well i never know that I have learnt something new today :) Thank-you fxm.

For some reason I have found this way is smoother then with screen lock and unlock (the seconds are always correct)
by Gablea
Jan 12, 2019 18:50
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 4785

Re: Where to put keyboard code

First, not necessary to put 'ScreenSet 1, 0' inside the loop: Sorry i must have assumed I would have to set the none active screen each time So would any print go to the non viewed screen? if I used Put (0,0), BackGround_Loading, PSet would thet print be put on the none viewed screen and when Scree...
by Gablea
Jan 12, 2019 18:48
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 4785

Re: Where to put keyboard code

Do you want to do things (e.g. handle user input) while the DisplaySignedOnScreen is shown? Or is it just some pop-up info screen until some key (e.g. escape) is pressed again? And should other things in the main loop continue to work, or is it ok is this is disabled/halted while the DisplaySignedO...
by Gablea
Jan 12, 2019 16:57
Forum: General
Topic: Where to put keyboard code
Replies: 31
Views: 4785

Where to put keyboard code

Hi all I am doing some experiments with FreeBASIC (so I can work on a better program) and so Far I have this #include "fbgfx.bi" #include "vbcompat.bi" Using FB '' Screen mode flags are in the FB namespace in lang FB Declare Sub DisplayBackground (ByVal CurrentTime As String, ByV...
by Gablea
Jan 11, 2019 19:04
Forum: General
Topic: Capture Ctl & Alt & Insert
Replies: 5
Views: 1068

Re: Capture Ctl & Alt & Insert

Ok I’ll try it and let you know :)
by Gablea
Jan 11, 2019 17:09
Forum: General
Topic: Capture Ctl & Alt & Insert
Replies: 5
Views: 1068

Re: Capture Ctl & Alt & Insert

Thanks for the advice guys. would this work on Linux? (and I know I am pushing it but would it work on DOS?)
by Gablea
Jan 11, 2019 16:14
Forum: General
Topic: Capture Ctl & Alt & Insert
Replies: 5
Views: 1068

Capture Ctl & Alt & Insert

Hi everyone I was wondering if someone has a example as how I can capture the Key combo of Ctl & Alt & Insert (almost like the Ctrl, Alt and Delete combo) as I would like to use this to load a "hidden" menu with in my program if someone has the code for the Ctrl & alt and delet...
by Gablea
Nov 30, 2018 13:28
Forum: General
Topic: Import files
Replies: 15
Views: 2199

Re: Import files

I think I will be going with the Types Data interface

But I will need to look into this so I can see understand this method
by Gablea
Nov 30, 2018 11:10
Forum: General
Topic: Import files
Replies: 15
Views: 2199

Re: Import files

@Paul Doe

So all I need to do now is crate the function that saves the csv file into a fix length data file (think that would be the simplist part of the project)
by Gablea
Nov 29, 2018 23:30
Forum: General
Topic: Import files
Replies: 15
Views: 2199

Re: Import files

@Paul Doe THANK YOU that was just what I was looking for and thank you for the comments explaining what they do it makes sense now And yes I think it was show how to do that but I was struggling to understand what the code did now You have done your example that shows and explains what each section ...