Search:

Type: Posts; User: Mike Peat

Page 1 of 52 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: AllowAccess called at least 4 times to load/show a webview ?!

    Premature optimization is the root of evil. Measure before you optimize. Is it actually doing round trips for each of those?

    Mike
  2. Replies
    6
    Views
    214

    Re: Featoure Request

    Anders

    Thanks - I didn't know that (I should have worked it out! :)). I ended up just copying the entire workspace, but your way would be much neater.

    Mike
  3. Re: Get ServerVariable called too early, returns error 4399

    Samuel

    How about:


    If not (AppSynching(ghoWebApp)) Begin

    // your code

    End
  4. Replies
    17
    Views
    393

    Re: SizeOfWString

    Ah ha: crying face:


    Size: 4
    WSize: 2
    Length: 1
    Bytes: 4


    OK, fair enough. :)
  5. Replies
    17
    Views
    393

    Re: SizeOfWString

    So SizeOfWString is pretty redundant (except in terms of consistency) since Length always returns the same value...

    Or am I missing something?

    It makes sense for String, since Length returns...
  6. Replies
    17
    Views
    393

    Re: SizeOfWString

    Just having fun:


    Use Windows.pkg
    Use cApplication.pkg

    Object oApplication is a cApplication
    End_Object

    Procedure Test
  7. Replies
    6
    Views
    214

    Re: Featoure Request

    Thanks Michael.
  8. Replies
    6
    Views
    214

    Re: Featoure Request

    Evertjan

    Yes, I'm thinking about doing that, but it is massive and complex. A read-only feature in the Studio would be a real boon.

    Mike
  9. Replies
    6
    Views
    214

    Featoure Request

    Something which would be really useful would be, when trying to open a workspace which is already open in another instance of the Studio, instead of refusing to open it, the Studio could open it in...
  10. Replies
    6
    Views
    251

    Re: Studio: Cursor in wrong place

    Harm

    No worries - I don't actually have any Thai clients! Just trying stuff. ;)

    Mike
  11. Replies
    6
    Views
    251

    Re: Studio: Cursor in wrong place

    Thai - I was following Klaus! ;)
  12. Replies
    6
    Views
    251

    Studio: Cursor in wrong place

    Spotted this:



    Object oCustomer is a cWebView Set piColumnCount to 10
    // Set psCaption to "Customer Maintenance"
    Set psCaption to "การบำรุงรักษาลูกค้า" | <-- cursor here


    On...
  13. Replies
    4
    Views
    266

    Re: 19.1 question

    Larry

    I can think of no reason why. Putting a single variable in an expression just returns the value of that variable. In some languages (particularly the C-style languages), it is compulsory...
  14. Re: psPlaceholder just not working in cWebGrid

    :)

    Improved doc wouldn't help me - I already know!

    Mike
  15. Replies
    4
    Views
    266

    Re: 19.1 question

    Hi Larry

    From my PoV, this is a moot point.

    When testing for the "implicit" true/false nature of a variable, I prefer it to be explicit: If (iTest <> 0) ..., but I see no virtue in simply...
  16. Replies
    12
    Views
    292

    Re: Constrain to runtime (Bugs?)

    I use:


    If not (AppSynching(ghoWebApp)) Begin
    // My stuff
    End


    Mike
  17. Replies
    3
    Views
    103

    Re: Delegate Get vs. Get of Parent

    Michael

    AFAIK, delegation_mode is only ever not set to Delegate_to_Parent in Arrays, or sub-classes thereof (which use No_Delegate_or_Error, so silently ignore messages they don't understand).
    ...
  18. Replies
    3
    Views
    103

    Delegate Get vs. Get of Parent

    Just to check...

    Is there conceptually any difference between: Delegate Get funcName and Get funcName of (Parent(Self))?

    Mike
  19. Re: psPlaceholder just not working in cWebGrid

    Alberto

    AFAICS, it has to do with the JavaScript...

    There is a df.WebListPlaceHolderView, but it doesn't seem to apply to cWebGrids (there is no corresponding df.WebGridPlaceHolderView, or the...
  20. Replies
    1
    Views
    110

    Re: Menu delay in Flat Desktop Theme

    OK, for the menu bar itself, this seems to do the trick (in application.css):


    .WebMenuBar ul li ul{
    transition: visibility 0s linear 0s, opacity 0s ease-in-out;
    }


    Still looking for...
  21. Replies
    1
    Views
    110

    Menu delay in Flat Desktop Theme

    Does anybody know how to reduce (ideally to zero) the fade-in time on menus in the Df_Flat_Desktop theme?

    Mike
  22. Re: psPlaceholder just not working in cWebGrid

    And psBackgroundColor doesn't work in either cWebList or cWebGrid. :(

    Mike
  23. psPlaceholder just not working in cWebGrid

    psPlaceholder in a cWebGrid simply does not work.

    In WebOrder, Orders View, Details Grid, add the line:


    Object oDetailGrid is a cWebGrid
    Set Server to...
  24. Replies
    6
    Views
    227

    Re: DF_FILE_PHYSICAL_NAME changes casing

    Vincent

    Although not the same as this particular case, I can remember an issue with this I had on a AIX system where the printer queue name I needed to use was in uppercase (not usual in a Unix...
  25. Re: Multiselect Does Not Work on cDbCJGridPromptList

    Which is actually pretty easy - I have implemented this for cWebLists. Not so sure about doing it on millions of rows though.

    Mike
Results 1 to 25 of 1284
Page 1 of 52 1 2 3 4