Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. C

    Bar Code Printing in Micro Size on Label

    If you have a printer supporting such commands, usually it'll need ESC sequences involving CHR(27) = ESC, with such printers. But once you have foxbarcode and foxbarcodeqr you can generate all kinds of 1d and 2d barcodes as graphics and print them.
  2. C

    Is there an equivalent of "AfterRowColChange" in Listbox control?

    Good points, Joe. There's always a current "active" row in a workarea, independent of controls. And some controls actually only care about that row. Grid and Listbox also display other rows. And Listbox and Grid also have in common if you click on a cell or item that changes the current active...
  3. C

    Is there an equivalent of "AfterRowColChange" in Listbox control?

    The grid has an active row, always one is a current row with the record pointer on it. The listbox has selected items, there can also be none selected or you can have multiselect, those are totally different concepts. The grid also has no value, neither single nor multiple in the sense there's a...
  4. C

    setting focus on EXE run

    Btw, what I suggest was also suggested by Mike Lewis here: https://www.tek-tips.com/threads/login-screen-question.1578281/ He's using a private variable to store the login status, your choice. But after Mike Lewis suggestion this prg should look like this: Public loginsuccessful...
  5. C

    setting focus on EXE run

    The focus of the first control was the problem, not the form minimizing. In post #4 it was solved by taborder, in post #8 it came back. No idea what he's doing. Without any code at hand hardly doable, isn't it? What you want, ravicoder, only needs two lines of code in the main startup.prg...
  6. C

    Need some help with "nicegui"

    Well, kudos for SoftwareRT's timer example, which surely is the main ingredient for that change for an automatically updating chart. I admit I'm actually not using nicegui, my professional work is much more database backend related and not even involving Python, but I like to use it for private...
  7. C

    Bar Code Printing in Micro Size on Label

    No. Your only solution seems to be a barcode font instead of creating barcode images. Well, that can be used in context with a label too, A label is just a specialized form of a report. But there's no need for a barcode font when you use the foxbarcode library. The LABEL FORM command mstrcmtr...
  8. C

    Bar Code Printing in Micro Size on Label

    You're still not getting the role of foxbarcode, it's not to create a label or report, just an image. That's used as the value for a picture/olebound control. And indeed, that can be in a label or a report, doesn't matter. foxbarcode is not fixated on labels. Labels just make printing label...
  9. C

    Bar Code Printing in Micro Size on Label

    Not at all, the FoxBarCode library creates an image based on the properties given, i.e. using Arial font within the image. For the report or label it only is an image, doesn't matter what's in it. The image size should just depend on the settings of the report picture/olebound control regarding...
  10. C

    setting focus on EXE run

    The read event hopefully is not in the form init or load, is it? You have to have the read events after the DO FORM call in the startup.prg
  11. C

    How to interactively change control source of a grid at runtime?

    You have to hope for someone else do make an online appointment. That just makes things easier, so you don't have the problem of changing a running grid - your question title literally suggests that's what you want. So you don't need to, fine, still SET PATH is wrong and CD is the lesson to...
  12. C

    Need some help with "nicegui"

    Notice this line: ui.button('Update', on_click=update) It means the button labeled Update will cause the function update to run, when clicked. So all you need to do to get some data instead of a random number is change the code of the update function, i.e. the lines after def update(). The...
  13. C

    setting focus on EXE run

    I don't know what you're solving with the wait window, but if you got everything going now, that seems to be fine. If you don't have a main.prg now to do the READ EVENTS after stariting the main top level form, you should consider that, though. Because anything else should not work and if it...
  14. C

    Cursor in Data Environment

    That's true. Though a) SitesMasstec explicitly asked for a cursor and b) in the DE. Of course nothing speaks against suggesting something better than what's asked for. He's free to pick up what he thinks works best for him.
  15. C

    Cursor in Data Environment

    2) Making a parameter a form property. Fine, how do you set the form property before even starting the form? Remember a view used in a DE will even be used/queried before the init of the form. So you have to use private variables. Not a foeign concept to legacy fox developers, not even against...
  16. C

    Cursor in Data Environment

    I'll even give you some arguments against my argumentation: 1. There are thousands of error messages about anything and that's no reason to not use VFP 2. You always start with something sometimes. And lurking problems may not ever become real. 3. It would make sense to have an overview of all...
  17. C

    Cursor in Data Environment

    Should I point out a list of problems you can have with views (and all solve with experience) that will each pose a problem to SitessMasstec simply based on how I know his forum history, alone? 1. Views first need a DBC. Already have one? Fine. Better use a separate for views, because views...
  18. C

    setting focus on EXE run

    You can't have controls without any taborder, I wonder how it was to not work, if taborder fixed it. Because even if the textbox has taborder 2 and a label before it has taborder 1 the focus will go to the textbox, as a label can't have focus. Tore hit the reason for your second problem, you...
  19. C

    Bar Code Printing in Micro Size on Label

    Steve, labels are in fact quite the same as reports, just with lbx file extension and by default a format that fits label sheets. with several columns and rows. The designer designs one label of a sheet only. Many use endless paper labels instead of sheets when it comes to mass label printing...
  20. C

    How to interactively change control source of a grid at runtime?

    This is going slightly off topic now about the DE. Sorry, Rif59. To get back to the grid control: 1. When at runtime an alias/workarea of a tablename the grid is set to is changed by the code CD newdir SELECT tablename && select the workarea still using the table of the previous directory USE...

Part and Inventory Search

Back
Top