Quick Tips
Some Quick PB5 and PB6 Tips

Last Updated 16th May 1998

 

 

 


  1. Did you know that you can increase or decrease the indentation of an entire selection in the PB script editor. Select the text in the editor and use the Tab key to increase indent and Shift-tab to decrease indent.
  2. Did you know that the resizing of columns for a Grid datawindow works even in the Print Preview mode. This tips can be very helpful to your end users who can adjust the way they want to see the data on paper before printing it.
  3. Did you know that in the Print Preview mode, datawindows offer the 'Page no' floating tip like MS Word when you scroll a datawindow by holding the scroll bar.
  4. In PB6, you can scroll a datawindow control even at design time in the Window Painter.
  5. In PB6, the Display Ancestor Script window is now resizable.
  6. PB6 offers a cool feature called Font Mapping, which allows you specify how fonts used in your application are to be mapped to the fonts available on the deployment machine. This feature can be especially useful when developing cross platform apps. For info on how to use Font Mapping look up 'Font Mapping' in the online help.
  7. To generate the debug file while running your app in the PB development environment include the following in the PB.INI in the [PB] section -

    PBDebug=ON

    DebugOutFile=<path and name of the debug output file>

    In PB6, just check the 'Enable PBDebug Tracing' option in System Options, General Tab. The output file can be specified in 'PBDebug Output Path'.

1