Solved

Powerbuilder messagebox problem, urgent. Many Thanks !!

Posted on 2002-05-16
3
2,580 Views
Last Modified: 2013-12-26
How do I change the button option text to "carflowertoy!" instead of default "yesnocancel!" ???

li_rtn = messagebox('Info','Which one do you like ?', question!, yesnocancel!, 1)

Thank you very much !!!
0
Comment
Question by:mhhui
3 Comments
 
LVL 4

Accepted Solution

by:
Bhatti earned 75 total points
ID: 7020490
I don't think that we can change these text as any other text. What you can do is only to make a small responce window.
1. Make a new window
2. Write your text
3. Make three buttons (Car-Flower & Toy)
4. In your script where you want to show message use
   OpenWithParm(window_name, abc)
Here abc may a text or structure which information you want when you open a window with message.

Close this window when user clicked a button(Car , Flower or Toy)

This script in window
use: ClosewithReturn(window_name, abc)
If it is a only string abc is the string.

use abc string is return value from button clciked in your window and do further actions.

Read these two functions in Help(by pressing F1)

1. OpenWithParm()
2. CloseWithRetuen()

If have any further question for such messages please let me know.

Best regards


Bhatti
0
 

Expert Comment

by:sunpatil
ID: 7083074
I think you should create a custom visual user object for that thing if you want to use that kind of button headings in your application and use that.

If have any further query please let me know.

regards

sunpatil
0
 

Expert Comment

by:SpideyMod
ID: 8297101
Force Accepted

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now