SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Feb 2002
    Location
    UK
    Posts
    87
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    .dialogfunction - processing user actions from a dialog box

    Function processFunction(Id as string, action1 as integer, suppaValue as integer) as string

    '''processing in here
    '''depending upon
    '''user input to the dialog box

    End Function


    Sub main
    Begin Dialog UserDialog 242, 146, "Print Dialog Box", .processFunction
    '$CStrings Save
    GroupBox 115, 14, 85, 57, "Page Range"
    OptionGroup .OptionGroup2
    OptionButton 123, 30, 46, 12, "All Pages", .OptionButton1
    OptionButton 123, 50, 67, 8, "Current Page", .OptionButton2
    PushButton 34, 115, 54, 14, "Print"
    PushButton 136, 115, 54, 14, "Cancel"
    '$CStrings Restore
    End Dialog
    Dim mydialog as UserDialog
    Dialog mydialog
    End Sub

    I would like to invoke a function depending upon user input to the optionButton control.SQABasic documentation is sketchy for this area.

    The way forward here is to use processFunction (as detailed in the line "Begin Dialog UserDialog 242, 146, "Print Dialog Box", .processFunction"). Can anyone complete the above, put me on the right track, or forward some similar code suite?

    Thanks in advance

  2. #2
    Member
    Join Date
    Feb 2002
    Location
    UK
    Posts
    87
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: .dialogfunction - processing user actions from a dialog box

    ...the solution already exists on:

    http://www.qaforums.com/cgi-bin/foru...;f=11;t=004914

    Must improve my searching ability!

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 12.50%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 12:07 PM.

Copyright BetaSoft Inc.