PowerBuilder

Using KeyBoard Code In PowerBuilder

The keybd_event API is a simple but handy API. You can do anything you can do with your keyboard using this function. Popup the windows menu, place the current window in clipboard etc. There are many keycodes you can use. Some keys work instantly for instance, the tab key. The shift key however has to…

Dynamically Creating DataWindow Objects

Dynamically Creating DataWindow ObjectsObjects can be added to your DataWindow programmatically via a Modify statement. In my opinion, the dynamic creation of objects within a DataWindow has been a highly underused feature.Dynamically creating (or destroying) objects within a DataWindow has many advantages such as:– Dynamically changing the content– If a printed DataWindow varies in appearance…