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 SkipVought 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. xinjie

    User defined property in Property-window

    Simply put, you can use MemberData for this purpose. For example, you have two attributes: test and testdesc. then, you can write the following script through MemberData Editor: If Aselobj(LoSelobj) = 0 Aselobj(LoSelobj, 1) Endif If LoSelobj[1].Test = 1 LoSelobj[1].Test = 2...
  2. xinjie

    Poll #5: What other programming languages did you use, do you use, or are planning to use/learn?

    I am learning X# and I believe it will continue my technical life.
  3. xinjie

    form still continues even if one object.INIT fails

    Public oform1 oform1=Newobject("form1") If Vartype(oForm1) = "O" oform1.Show EndIf Return * Define Class form1 As Form DoCreate = .T. Caption = "Form1" lload = .F. Name = "Form1" Add Object command1 As myCommand With ; Top = 24, ; Left = 12, ...
  4. xinjie

    Combobox in grid with different RowSource for each row

    What I've described is not outdated and simply requires the DynamicCurrentControl property to be used again. It's something like this: With Grid With .Column1 .DynamicCurrentControl = "iif(Recno() = 1, "myImage", "myCombo")" EndWith EndWith An example of this technique...
  5. xinjie

    Combobox in grid with different RowSource for each row

    You want each current control in a separate column to use its own data source if I understand you correctly. There are usually two ways to accomplish this: 1 Use the dynamic properties of Column; 2 Using the control's BackStyle_Access method. I usually use the second method because it's easier...
  6. xinjie

    CursorAdapter.CursorRefresh doesn't seem to work when starting a VFP transaction

    Chriss, Whether you define the SelectCMD property or add any code to BeforeCursorFill/BeforeCursorRefresh, it is normal just in the normal case. But once CursorRefresh is executed in a VFP transaction, everything becomes unbelievable and the correct result is not obtained.
  7. xinjie

    Report Form print sizing problem

    Maybe you can update your VFP9 ReportingApp(Link)! If the problem is not resolved, then try DPIAwareManager(Link). In any case, they are beneficial.
  8. xinjie

    CursorAdapter.CursorRefresh doesn't seem to work when starting a VFP transaction

    Hi, Chriss Description from the help:(https://www.vfphelp.com/help/_5wn12pnzp.htm): Visual FoxPro stores the value changes, which are used by CursorFill. The CursorRefresh method uses the value of the SelectCmd parameter, not the SelectCmd property. This facilitates construction of custom...
  9. xinjie

    CursorAdapter.CursorRefresh doesn't seem to work when starting a VFP transaction

    Hi, Chriss Whether I change parameter and do CursorFill or CursorRefresh, I get another record, when changing my parameter value. This is exactly the result I need. And, I didn't get any errors.
  10. xinjie

    CursorAdapter.CursorRefresh doesn't seem to work when starting a VFP transaction

    Hi, Chriss Thank you very much for your insights. As of now, CursorFill is the most efficient approach and is the most likely way to refresh data in a VFP transaction. I can solve the other problems caused by this relatively easily (typically, Child are represented on the UI, usually in a...
  11. xinjie

    CursorAdapter.CursorRefresh doesn't seem to work when starting a VFP transaction

    Hi, Chriss Thank you very much for your quick reply! The lengthy narrative above is just a replication of the application scenarios I've encountered as best as I can. In fact, we can simply reproduce the problem(This just indicates the logic, the code itself may not be feasible to run)...
  12. xinjie

    CursorAdapter.CursorRefresh doesn't seem to work when starting a VFP transaction

    Hi,everyone I am a newbie in terms of using CursorAdapter. My development environment is VFP9 SP2 7423 . I am having a very confusing problem. I have a document entry UI with a parent-child table structure. The child table needs to display the record corresponding to the parent table when the...
  13. xinjie

    Sorting the object list of a form by its objects.

    Your understanding is not entirely correct, although it is in line with your observations. They are in TAB order at the same container level, in fact. You can see the order of the list as you want it to be if you change the control's Tabindex property. Of course, you can achieve the same goal...
  14. xinjie

    Class Browser with DataEnvironment

    You can try : https://github.com/VFPX/ClassBrowserX, maybe it will solve your problem.
  15. xinjie

    How to change caption color only for active page of a pageframe?

    Chriss, Thank you very much for testing! At least that validates my guess. This solves most problems with pages. As for using different page classes in a pageframe, at least we bought some more time to get the problem out of the way once and for all.
  16. xinjie

    How to change caption color only for active page of a pageframe?

    Hi, Chris Thank you very much for your detailed discussion. And it's right. I have an unproven idea that we should be able to programmatically change scx because it's DBF. This should make it easier to replace the base class with a custom class if we have a "tool". I will consider whether to...
  17. xinjie

    How to change caption color only for active page of a pageframe?

    Is it better to use MemberClass?
  18. xinjie

    MagicMenu for VFP special projects

    NOW, It has evolved to Ver:2.0.0 More stable and stronger Looking forward to your feedback!

Part and Inventory Search

Back
Top