Search found 349 matches

by AndyGable
Tuesday 12th March 2024 11:07pm
Forum: General
Topic: Dev PC is 64bit OS client machines 32bit OS
Replies: 1
Views: 100

Dev PC is 64bit OS client machines 32bit OS

Hi everyone, Just wanted to ask a question really. I am developing my system on a 64bit machine but some of my machines are 32bit do I have to have a 32bit machine with Gambas on it to compile the code so it will run on 32bit machine or will the 64bit compile app run on the 32bit machine? I have 30%...
by AndyGable
Tuesday 12th March 2024 6:22pm
Forum: General
Topic: [Sloved] Programmly send Button Name
Replies: 3
Views: 181

Re: Programmly send Button Name

BruceSteers wrote: Tuesday 12th March 2024 2:45pm Me["BUTTONAMEHERE"].Background = Color.Yellow


For c As Integer = 1 to 46

frmPLUList["Btn" & c].Background = Color.Yellow

Next
This one worked a treat thank-you @BruceSteers once again you have come to my rescue.
by AndyGable
Tuesday 12th March 2024 4:10am
Forum: General
Topic: [Sloved] Programmly send Button Name
Replies: 3
Views: 181

[Sloved] Programmly send Button Name

Hi All. I am using 46 btns to make a grid onscreen and I was wondering how do I send the Button name in the following code If PLUDataResult.Count > 0 Then For Each PLUDataResult Global.pluNumber[PLUDataResult!button_number] = PLUDataResult!plulistid Global.pluBarcode[PLUDataResult!button_number] = P...
by AndyGable
Tuesday 12th March 2024 3:24am
Forum: General
Topic: How to scroll a Gridview via code
Replies: 2
Views: 139

How to scroll a Gridview via code

Hi All, I am having a Slight issue at the moment that I can not figure out how to sort I am trying to scroll a gridview using a up and down arrow on the screen (this is a touch app) This is what I have so far Global.RowCount = 0 This runs when the form opens Public Sub btnUpArrow_Click() If Global.R...
by AndyGable
Friday 1st March 2024 9:56pm
Forum: General
Topic: USB PoS Printer advise
Replies: 7
Views: 454

Re: USB PoS Printer advise

After a lot of googling and asking ChatGPT I have come up with the following code (Still needs work though) Global.PrinterPort = New SerialPort As "PrinterPort" With Global.PrinterPort Try .Close .PortName = Global.PortName End With Select Case ConnectionType Case "Open" Try Glob...
by AndyGable
Thursday 29th February 2024 6:52pm
Forum: General
Topic: USB PoS Printer advise
Replies: 7
Views: 454

Re: USB PoS Printer advise

If I used the driver I loose all control Over the printer and I will not get any status about the cash drawer etc from the printer. I found this command online tail -f /var/log/syslog . If you run the command in Terminal, then change the cash draw status, you may be able to see it as it happens. (P...
by AndyGable
Wednesday 28th February 2024 9:17pm
Forum: General
Topic: USB PoS Printer advise
Replies: 7
Views: 454

Re: USB PoS Printer advise

how exactly do you try to open it? I was trying to open it just like a Serial Printer Global.PrinterPort = New SerialPort As "PrinterPort" With Global.PrinterPort Try .Close .PortName = Global.PortName .Speed = Global.BandRate Select Case Global.FlowControl Case "Hardware" .Flow...
by AndyGable
Wednesday 28th February 2024 6:16pm
Forum: General
Topic: USB PoS Printer advise
Replies: 7
Views: 454

Re: USB PoS Printer advise

From what I can see, there is a Linux Printer driver for your printer. Why not install that and just send a page to the printer or as I do with a Zebra Printer, create a PDF file and send that to the printer? If I used the driver I loose all control Over the printer and I will not get any status ab...
by AndyGable
Wednesday 28th February 2024 2:12am
Forum: General
Topic: USB PoS Printer advise
Replies: 7
Views: 454

USB PoS Printer advise

Hi all I need some advise. I have a fully working module that talks to my Epson TM-88IV thermal printer on comport and it works perfectly And now I want to try and use a USB version of it So I have found on my system /dev/usb/lp1 and I can echo to it with no problems The problem I seem to have is wh...
by AndyGable
Monday 26th February 2024 4:50am
Forum: General
Topic: [Solved] TabPanel1 bad index
Replies: 4
Views: 330

Re: TabPanel1 bad index

did you try the .Visible property? probably easier than removing/adding https://gambaswiki.org/wiki/comp/gb.form/_tabpanelcontainer ' tab 3 hides if not in edit, or if in edit it hides if no opencart or shows if opencart TabPabel1[3].Visible = If(bIsInEditMode, If(bCanUseOpencart, True, False), Fal...