1. Tracy Lamb
  2. PowerBuilder
  3. Friday, 10 June 2022 21:01 PM UTC

Hi all,

I'm still reworking a bunch of old code.  Just wondering, why use a Datastore instead of an invisible Datawindow on the window?

~~~Tracy

 

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 10 June 2022 21:22 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Tracy;

  The DW Control based DWO consumes MS-Windows control blocks (aka GDI resources [handles] that have to be allocated, managed & then destroyed). A DataStore only requires one handle for the entire DWO and all of it's controls. So basically its a "resource & performance thingy!  ;-)

HTH

Regards ... Chris

Comment
  1. Tracy Lamb
  2. Friday, 10 June 2022 21:28 PM UTC
thanks Chris. Maintenance is a little easier with invisible datawindows, but makes sense to use datastores to be more "machine friendly".

~~~Tracy
  1. Helpful
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Friday, 10 June 2022 22:01 PM UTC
  2. PowerBuilder
  3. # 1

The other thing is that on a non-visual object you cannot use a DW, but a DS will work.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.