Solved

Powerbuilder messagebox problem, urgent. Many Thanks !!

Posted on 2002-05-16
3
2,742 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
[X]
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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hide carret in RichEdit 4 77
Aptana 3.6 Preview Problem On Mac 35 148
Visual Studio C# project complains it can't run a dll 5 110
NOTEPAD++ Meaning of (+) and (-) Icons 6 176
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: …
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 perform CRUD operations on a MySql database.

734 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