Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Powerbuilder messagebox problem, urgent. Many Thanks !!

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
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…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
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…

792 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