Search:

Type: Posts; User: ArchieCampbell

Page 1 of 36 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    0
    Views
    37

    GetAjaxWebAppView is failing

    DF19.1 WebApp
    The procedure GetAjaxWebAppView in cWebControlLocator.pkg has a problem with my WebApp code
    Its Get Search_WWO_Id is returning handle of 0

    I am doing a Send Popup of...
  2. Re: cWebList colour rows based on aTheRows[iRow].sCssClassName

    Hey Nick.
    You had the solution. Looks like I did not do a proper job of clearing the cache the first time. Sighhhh
  3. Re: cWebList colour rows based on aTheRows[iRow].sCssClassName

    Hey thanks, Samuel.

    This was going to be my first task this morning.
    Yes that works just fine.

    The other way I found is
    settings - More Tools - Clear Browser Data (Ctrl - Shift - Del)...
  4. Replies
    14
    Views
    278

    Re: cWebList Row colours attempt #2

    It is something I do have to watch out for.
    When programming I must force myself to spell it incorrectly -;)
  5. Replies
    14
    Views
    278

    Re: cWebList Row colours attempt #2

    SOLVED IT.
    I just discovered that if you make a change to application.css you must clear data in the browser for it to take effect.
    In the browser window Dev Tools - Sources - CssStyle shows the...
  6. Re: cWebList colour rows based on aTheRows[iRow].sCssClassName

    Ya gotta clear the browser data for the new application.css to take effect!
    Or use a browser that has never been used before.
  7. Re: cWebList colour rows based on aTheRows[iRow].sCssClassName

    Hi Salvadori
    Just to keep me right amused, I went back to my app and first ran it under Chrome with no changes and I got colour.
    Hmm I said.

    I also figured out how to check in Chrome developer...
  8. Re: cWebList colour rows based on aTheRows[iRow].sCssClassName

    THAT WORKED!
    I opened Microsoft Edge and I got colours.
    I will now try my code under Microsoft Edge.
  9. Re: cWebList colour rows based on aTheRows[iRow].sCssClassName

    Never checked for that before.
    Here is what I did.
    In Chrome, from Menu, More Toold - Developer Tools - Elements - Styles
    This lists Index.html (2 times) Theme.css system.css (3 times) user...
  10. Replies
    14
    Views
    278

    Re: cWebList Row colours attempt #2

    Hi Samuel
    Guess what. It did not work. See attached plain looking popup.
    DF19.1 example for WebOrder.
    I modified by adding OnDefineRowCssClass to SalesPersonWebLookup.wo.
    Using debug I made...
  11. Replies
    0
    Views
    38

    WebContextMenu - new course

    I just watched "Working with the WebContextMenu in DataFlex"
    Wow, just what I am looking for.
    One more reason why I should switch from DF19.1 to 2022

    Also, good presentation. I will going back...
  12. Replies
    14
    Views
    278

    Re: cWebList Row colours attempt #2

    Hi Samuel
    Good idea. Give me something that works.
    When I get back from meetings in a few hours, I will add your code to my sample weborder and see what happens.
    Thanks!
    I will keep you posted....
  13. Replies
    14
    Views
    278

    Re: cWebList Row colours attempt #2

    Hi Evertjan
    Yes the colour of the rows does alternate.
    I have no idea why it does that.
    I could not find a property in cWebList that turns alternating rowcolors off and on.
    Any idea what that...
  14. Replies
    14
    Views
    278

    Re: cWebList Row colours attempt #2

    OK, so maybe it is something I have in my WebApp.src or the other WebViews
    So .. I created a fresh workspace called TestWebApp, added a Desktop Web Project.
    To that I added a copy of TestColours.wo...
  15. Re: cWebList colour rows based on aTheRows[iRow].sCssClassName

    Hi Salvadori.
    Good thought, but not that was it.
    In WebApp.src I had
    Set psTheme to "DF_High_Contrast"
    I commented that out, recompiled, and same problem
    Archie
  16. Re: cWebList colour rows based on aTheRows[iRow].sCssClassName

    Hi Nick
    Thanks for the response

    I cleared browser cache, stopped and started the Studio, stopped and started the chrome browser
    I did chrome://settings/clearBrowserData and picked "All Time" and...
  17. Re: cWebList colour rows based on aTheRows[iRow].sCssClassName

    Hi Salvadori
    That still did not work.
    So ... I thought I would simplify things and first get the sample in the help under Web Framework 18.0 to produce colours and go from there.
    Always good to...
  18. Replies
    14
    Views
    278

    cWebList Row colours attempt #2

    I hit a dead end on my previous post so I thought I would simplify things and first get the sample in the help under Web Framework 18.0 to produce colours and go from there.
    That did not work. I...
  19. Re: cWebList colour rows based on aTheRows[iRow].sCssClassName

    Hi Salvadori
    Thanks for the reply.
    I tried it but no luck. The background colour did not change.

    Is "ClassBackGreen" already defined or do I have to define it?
    If so, a pointer to how I would...
  20. cWebList colour rows based on aTheRows[iRow].sCssClassName

    I have a DF19.1 cWebGrid that I manually load.
    It has two types of rows on the grid. I each type to have its own background row colour. eg one I want to have a green background and the other a red...
  21. Replies
    1
    Views
    74

    Another cWebList sort question

    This time I looked even harder in the Help but did not find the answer.
    (Not to say it is not there, but ....)

    In DF19.1 I have a cWebGrid, non-data aware, that I load manually.
    Once...
  22. Replies
    2
    Views
    147

    cWebView problem with F2 Save

    I have a simple DF19.1 cWebView with 5 columns from a one record table pblCtrl.

    .A. If I key in a change to one of the fields, click the Save icon, the Confirm - Save this record? box pops up. I...
  23. Replies
    3
    Views
    166

    Re: cWebGrid sortable on all columns?

    Hi Samuel

    Excellent explanation.
    Many thanks

    Archie
    p.s. I did first check the help before posting the questions but I missed peDbGridType
  24. Replies
    3
    Views
    166

    cWebGrid sortable on all columns?

    In the Windows world for a table with not too many rows you could set a property calling the grid static. All rows were kept in memory and you could click on any column to resort the list by the...
  25. Re: Do I need begin_transaction and end_transaction?

    Check.
    I will be adding the following line to the main ediTaskDD

    Set Add_System_File to zDays.File_Number DD_Lock_On_All

    Thanks Michael!!!
Results 1 to 25 of 885
Page 1 of 36 1 2 3 4