/ Forums / Advansys Formativ / Formativ Creator / ScrollBars = fssVertical is buggy

  • Creator
    Topic
  • #3531
    rgesner
    Participant

    ScrollBars = fssVertical creates a couple of funky semi-functional scroll buttons below the memo control instead of creating scrollbars at the right side, using the following code snippet.

    Set MemoControl1 = SigDlg.AddMemoControl
    with MemoControl1
    .Caption = “Memo1:”
    .Text = “Here is some memo text….”
    .ScrollBars = fssBoth ‘fssVertical is buggy
    .CaptionPosition = afvLeft
    .CaptionAlign = ftaRightJustify
    .Spacing = afvManual
    .WordWrap = TRUE
    .SpaceAbove = 20
    end with

  • Author
    Replies
  • #5367
    Support 2
    Moderator

    Thanks for the feedback. It looks like the problem is related to the .CaptionPosition = afvLeft setting, which is causing an incorrect width calculation for the Memo control.

    We will look into it today.

    Thanks,

    Advansys Support

    #5368
    rgesner
    Participant

    I got the same funky scrollbars when I used a caption in a MultiLineLabelControl.

    #5366
    Support 2
    Moderator

    We have found the rogue line of code which was causing an incorrect width calculation for the last control on the dialog. This was a hangover from an earlier beta version which used a different technique to autosize the last control.

    We also revised the last control autosize function, which will now only expand the last control’s height if it is less than the remaining blank space on the dialog form. Only variable height controls such as Memo, MultiLineLabel and list boxes are processed by this function.

    A pre-release test version of the updated utilityobject.dll can be downloaded by clicking here. You can download this file and replace your existing utilityobject.dll file in the Formativ program directory, usually c:program filesadvanysformativ. Please let us know how you progress.

    Thanks,

    Advansys Support

    #5361
    rgesner
    Participant

    I downloaded the updated utilityobject.dll replaced the existing utilityobject.dll file in the Formativ program directory but it now gives me an AddTypeLib (LIBID_UtilityServer) failed when I try to run any macro, including the DYnamic Dialog Test example.

    #5364
    Support 2
    Moderator

    I’ll check into this and find a resolution. It may be a corrupted upload.

    Thanks,

    Advansys Support

    #5362
    Support 2
    Moderator

    We could not find a problem with the file internally, so just in case, I’ve uploaded the file again to the same location. If downloading and re-installing the file does not assist, you may need to try re-registering the file by using the command line is:

    regsvr32 utilityobject.dll

    This assumes 2 things:

    1. Regsvr32.exe is in the path. If not, it will have to be copied into the Formativ directory.

    2. The current directory is where Formativ was installed (i.e C:Program FilesAdvansysFormativ is the default).

    Thanks,

    Advansys Support

    #5365
    rgesner
    Participant

    I downloaded it again and got the same error.

    Trying to register it with Regsvr32 per your instructions also failed, with the message that “utilityobject.dll is not an executable file and no registration helper is registered for this file type.”

    What now?

    #5363
    Support 2
    Moderator

    Thanks for trying again. As we cannot explain the problem, nor reproduce it, I have rebuilt the installation file in full and you can download it here.

    Let’s hope the full reinstallation will work like it did previously.

    Thanks,

    Advansys Support

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.