View Full Version : Can a TFrame be DB-Aware ?
02-07-2001, 10:20 AM
I made a composite compnent using a TFrame. It works OK. Now I want to make it DB-Aware. I know I can add a ttable to the frame, but I wonder if it is possible to make the TFrame itself db-aware, adding to it the relevant code (properties and methods), the truth is I tried it, but I could NOT see the properties at design time. TIA
02-07-2001, 04:07 PM
I'm a little confused as to what you are attempting to accomplish. The TFrame itself has no input or output (like and editbox), so it cannot really be data-aware. You can, however, add TTable (or whatever) to the properties in your own inherited implementation of TFrame. Remember, if you want your properties to show up at design time, you must declare them in the published section of the type declaration (usually right after the public section).
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.