Solved

Powerbuilder messagebox problem, urgent. Many Thanks !!

Posted on 2002-05-16
3
2,619 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

895 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

16 Experts available now in Live!

Get 1:1 Help Now