devxlogo

Tip Bank

Scaling DW

Question: How can I scale down a DW object? Why is the DW object Ruler inch size much bigger than a real inch size? Answer: You can scale a datawindow

Year 2000 compliant

Question: Which versions of PowerBuilder are year 2000 compliant? Answer: PB5.0.4 is year 2000 compliant. All versions before that release had a few minor problems that would not affect most

ToolBar

Question: Can I change the font size of the ToolBar text for the application (not the development painters)? Answer: No. The font size is taken from the user’s operating system

Datawindow print dialog

Question: How can I get the Windows 95 print dialog box todisplay instead of the print setup dialog usingprintsetup()? Answer: You have to build your own custom dialog window. The

Powerbuilder import utilities

Question: I would like to know if there are any PB import utilities that can import Excel files into a datawindow, datastore, or database table. Answer: PowerBuilder 6 can import

Datawindow column sorting

Question: I am looking for a way to display an arrowin the the “sorted column” heading to indicatethe direction and column sorted. This functionality can be seen in MS-Exchange. Answer:

Different develop/deploy operating systems

Question: What are the issues involved, if any, if your development environment uses Windows NT and you want to deploy the application to a Windows 95 environment? Answer: There are

Blob comparsion

Question: How can you tell if blob1 = blob2? Answer: You can just use: IF blob1 = blob2 THEN I have used this in the past to compare bitmaps to

Accessing individual pixels

Question: I’m developing a VB program that requires manipulation of pictures. I can read them in and display them without any problem, but I have no way (that I can