Search found 362 matches

by AndyGable
Thursday 15th September 2022 6:43pm
Forum: General
Topic: Convert this C code to Gambas
Replies: 10
Views: 1950

Re: Convert this C code to Gambas

The recipit printers do not have drivers that you can install on Linux they all use their own ESC/POS commands to convert and print the images
by AndyGable
Thursday 15th September 2022 2:44pm
Forum: General
Topic: Convert this C code to Gambas
Replies: 10
Views: 1950

Convert this C code to Gambas

Hi Everyone Does anyone know how I can convert this code from C to Gambas? public static class ImagePrint { /// <summary> /// Image convert to Byte Array /// </summary> /// <param name="LogoPath">Image Path</param> /// <param name="printWidth">Image print Horizontal Length</param...
by AndyGable
Wednesday 14th September 2022 3:50pm
Forum: General
Topic: Help or advise on this issues
Replies: 1
Views: 488

Help or advise on this issues

Hi All, I am getting on very well with my EPoS application but I am not sure how to do the following thing.... at the moment I am saving every item individually to a temp file so the file would look like this 1,I,50201600,2,0.35,0.70 if I void one I would have to do the following 1,IV,50201600,1,0.3...
by AndyGable
Friday 26th August 2022 8:02am
Forum: General
Topic: [Solved] Loop at top and bottom of Gridview
Replies: 2
Views: 671

Re: Loop at top and bottom of Gridview

I'd forget that NewRow arg, if i press down, then press up the NewRow won't be right. And this line looks wrong for arrow-up... If NewRow <= RowCount Then Maybe something like this?... Public Sub Form_KeyPress() Select Case Key.Code Case Global.Key_ArrowUp GridView1.Select(if(GridView1.Row = 0, Gri...
by AndyGable
Thursday 25th August 2022 4:23pm
Forum: General
Topic: [Solved] Loop at top and bottom of Gridview
Replies: 2
Views: 671

[Solved] Loop at top and bottom of Gridview

Hi All I am currently using this code to move a blue highlighter bar in a grid ' Gambas class file RowCount As Integer = 0 NewRow As Integer = 1 Public Sub Form_Open() NoSale.LoadNoSaleReason GridView1.Select(0, 1) ' Set to the First row RowCount = GridView1.Rows.Count End Public Sub Form_KeyPress()...
by AndyGable
Thursday 25th August 2022 3:41pm
Forum: General
Topic: Screen Saver With in Gambas Application
Replies: 3
Views: 720

Re: Screen Saver With in Gambas Application

Here's a working class that does that. you could put any code you like in the SWin_Keypress event to do your login. ' Gambas class file Public SWin As Window Public PB As PictureBox Public TM As Timer '' Open the full screen window with a picturebox in it... Public Sub OpenImageDisplayer() With SWi...
by AndyGable
Thursday 25th August 2022 9:32am
Forum: General
Topic: Screen Saver With in Gambas Application
Replies: 3
Views: 720

Screen Saver With in Gambas Application

Hi all, I know i can use the built in screen saver on Linux but I am not using a full desktop just X11 What I want to do is when I display a given screen (frmSignedOff) after 5mins (or what ever I set the time out to be) I would like to start display full screen bmp / png images over my application ...
by AndyGable
Friday 19th August 2022 6:40pm
Forum: General
Topic: Help With JSON formatting
Replies: 26
Views: 4110

Re: Help With JSON formatting

@thatbruce Here we can have communication with the EFT PinPad but it is only from the PinPad to the PoS and all it is would be things like Present card, PIN Entry, Connecting, Authorized etc (so the cashier can also see the status messages that the customer sees) I can see the communication with no ...
by AndyGable
Thursday 18th August 2022 2:27pm
Forum: General
Topic: Help With JSON formatting
Replies: 26
Views: 4110

Re: Help With JSON formatting

opps sorry that was a typo it should have said poll with your class do I still call ShowSaleResults? to get the newest status message? also could someone tell me why while running the transaction nothing is being added to the listbox even though I am adding messages to the list How are you adding m...
by AndyGable
Thursday 18th August 2022 8:58am
Forum: General
Topic: Help With JSON formatting
Replies: 26
Views: 4110

Re: Help With JSON formatting

opps sorry that was a typo it should have said poll

with your class do I still call ShowSaleResults? to get the newest status message?

also could someone tell me why while running the transaction nothing is being added to the listbox even though I am adding messages to the list