Too many TDBEdit components on a Form

Question:
I am using Delphi 16 running under Win95.I have an application which requires use of more than 200 TDBEdit components. When designing the form I find that 178 appears to be the max allowed. Once this figure is reached no more TDBEdit or TEdit components may be added. The message is ‘Error Creating Window’. I am still able to add other components.I assume it is a Windows resources problem. Is there a limit on these items or is it a system problem?

Answer:
200 DBEdits on a form is an incredible amount! I think you should rethinkthe design of the form. Your best bet is to categorize the fields intogroups that would naturally fall together on a single form, so that you havemy 25-40 fields per form. What you’ll do is create one form that has theTTable and TDataSource objects on them, then all the other forms willreference these objects.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

homes in the real estate industry

Exploring the Latest Tech Trends Impacting the Real Estate Industry

The real estate industry is changing thanks to the newest technological advancements. These new developments — from blockchain and AI to virtual reality and 3D printing — are poised to change how we buy and sell homes. Real estate brokers, buyers, sellers, wholesale real estate professionals, fix and flippers, and beyond may

man on floor with data

DevX Quick Guide to Data Ingestion

One of the biggest trends of the 21st century is the massive surge in internet usage. With major innovations such as smart technology, social media, and online shopping sites, the internet has become an essential part of everyday life for a large portion of the population. Due to this internet

payment via phone

7 Ways Technology Has Changed Traditional Payments

In today’s digital world, technology has changed how we make payments. From contactless cards to mobile wallets, it’s now easier to pay for goods and services without carrying cash or using a checkbook. This article will look at seven of the most significant ways technology has transformed traditional payment methods.