Alpha Video Training
Results 1 to 6 of 6

Thread: Increase Size Of Dialogue Box

  1. #1
    Member
    Real Name
    Alex Muir
    Join Date
    Nov 2000
    Location
    Stocksfield UK
    Posts
    429

    Default Increase Size Of Dialogue Box

    Hello

    I have a dialogue box that prompts the user if the account field STATUS is on hold, it warns the user.

    I used used Action Scripts to do this.

    However, the user has requested that I make the dialogue box larger (i.e. 3 or 4 times bigger)

    How can I do this?

    It doesn't have to be a dialogue box, just some warning that is larger and allows the user to continue or cancel

    Any input would be greatly appreciated.
    Database Software Solutions Limited
    www.dbasesolution.co.uk
    PRECISE360 -
    LYNCHPIN -

  2. #2
    "Certified" Alphaholic Ted Giles's Avatar
    Real Name
    Ted Giles
    Join Date
    Aug 2000
    Location
    In the Wolds, Louth, Lincolnshire, UK
    Posts
    4,281

    Default Re: Increase Size Of Dialogue Box

    Try a Conditional Object and embed it on the form
    Ted Giles
    Example Consulting - UK
    .

    http://ec12.example-software.com//
    See our site for Alpha Support, Conversion and Upgrade.

  3. #3
    Member
    Real Name
    Alex Muir
    Join Date
    Nov 2000
    Location
    Stocksfield UK
    Posts
    429

    Default Re: Increase Size Of Dialogue Box

    Thanks Ted.

    Much appreciated.

    Alex
    Database Software Solutions Limited
    www.dbasesolution.co.uk
    PRECISE360 -
    LYNCHPIN -

  4. #4
    "Certified" Alphaholic Mike Wilson's Avatar
    Real Name
    mike wilson
    Join Date
    Apr 2005
    Location
    Michigan
    Posts
    4,163

    Default Re: Increase Size Of Dialogue Box

    Try this Alex. Put it in a an in-line xbasic action script line

    Code:
    dim vR as C
    vR=ui_dlg_box("WARNING",<<%dlg%
    {font=arial,14,b}{background=teal}                         {comment=The number increases font size}
    {xmargin=10,10}                                            {comment=The numbers adds space on the sides}
    {ymargin=5,5}                                              {comment=The numbers adds space on the top and bottom}
    {region}
    {background=pale yellow}
    {lf=7};{justify=center}{image=$sys_warning}                {comment=The LF number adds lines above the caution image}
    {lf=3};{sp=11}The status is on hold{text=11};              {comment=The LF number adds lines above the message in the message region}
    {lf=5};                                                    {comment=The LF number adds lines below the message in the message region}
    {endregion};{lf};
    {background=Teal}
    {font=arial,10}{justify=center}<15Continue> <15Cancel>
    %dlg%)
    
    SELECT
          CASE vR = "Cancel"
          end 
    END SELECT
    
    msgbox("the script progresses")
    Mike W
    __________________________
    "I rebel in at least small things to express to the world that I have not completely surrendered"

  5. #5
    "Certified" Alphaholic MoGrace's Avatar
    Real Name
    Robin
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    3,591

    Default Re: Increase Size Of Dialogue Box

    Adding the text=11 was interesting to note, since sp=11 doesn't work there.
    Robin

    Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

  6. #6
    Member
    Real Name
    Alex Muir
    Join Date
    Nov 2000
    Location
    Stocksfield UK
    Posts
    429

    Default Re: Increase Size Of Dialogue Box

    Thanks for all your kind help.
    Database Software Solutions Limited
    www.dbasesolution.co.uk
    PRECISE360 -
    LYNCHPIN -

Similar Threads

  1. Increase OnTimer to 3 seconds?
    By mvaughn in forum Mobile & Browser Applications
    Replies: 2
    Last Post: 05-06-2015, 09:36 PM
  2. Auto increase of numeric field size when exporting to mySQL
    By Nick Oldfield in forum Application Server Version 10 - Web/Browser Applications
    Replies: 0
    Last Post: 07-16-2012, 05:09 PM
  3. Increase font size for a user
    By betty in forum Alpha Five Version 10 - Desktop Applications
    Replies: 1
    Last Post: 11-18-2010, 01:42 PM
  4. increase length of field
    By monty5511 in forum Alpha Five Version 8
    Replies: 2
    Last Post: 01-15-2009, 12:08 AM
  5. Xdialog - Dynamically increase window size
    By Robert Picard in forum Alpha Five Version 5
    Replies: 2
    Last Post: 12-02-2003, 07:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •