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

    Easy Way to Update EXE to all Workstations

    You should not revive an old thread, even for illustrating you already found one old thread on this, you can link to that in a new thread. Reviving old threads most of the time leads to less participation. The most often given answer is not even here in this thread, it's using a bat/cmd file...
  2. C

    setting focus on EXE run

    Well, you don't need it at all. Are you using native base controls or some framework? You might have inherited framework code that lets things work off normal behavior, i.e. you would need to dig into framework documentation on how to use framework forms and controls the right way. Also, from...
  3. C

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

    One last comment, Rajesh. Taking for granted the ListBox InteractiveChange event does the same for you, then turning around the perspective, the equivalent event of the grid is not a grid event but the InteractiveChange event of a text1 textbox of a column of the grid. And not even that is...
  4. C

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

    Yes, but a grid has no InteractiveChange event, it also has no single Value, it's a container for columns, which are a container for controls and not in the normal sense of container, but we'll just dig deeper into the quirks of word meanings in VFP properties and the programming language. I...
  5. C

    Printing from report preview gives "<cursor> is not related to the current work area"

    Hard to tell what's going on, as you earlier said you tried both private and non private datasession.
  6. C

    Printing from report preview gives "<cursor> is not related to the current work area"

    What else to do: When the error itself pops up, pick "suspend" and see, if your preview run closes the report driving cursor at some point, perhaps in a report band like a footer or summary band. I don't see how else you get this error. Just be aware that preview and printing are two passes, you...
  7. C

    Printing from report preview gives "<cursor> is not related to the current work area"

    There is no real Init in a report. A report based on a private datasession works based on the Table you set as "InitiallySelectedAlias", a report without private datasession works based on the workarea selected when you call REPORT FORM. So in both cases it makes no sense to select a workarea in...
  8. C

    Is there a FUNCTION or Property to Get the "Complete Address" of a Form Control

    The Hacker's Guide gives a hint this function is useful only for debugging and developer tools, not in production code. So when you aim to use this in production code rethink why and for what you're intending to use this. First of all, if you have an object reference, you can act on the object...
  9. C

    Bar Code Printing in Micro Size on Label

    There's a reason Zebra printers have some fame in the FoxPro community. Yes, take something specialised and it'll work best on the basis of that specialization, special command set, special internal fonts, etc. Those specific solutions are less generalizable, though, I don't know Bartender...
  10. 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.
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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
  20. 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...

Part and Inventory Search

Back
Top