OK finally I get rid of the problem...
The run-time error Invalid Property Value is no more raised after I edited the form's dfm AND all frames dfm taking place in the form. The task consists of deleting all occurences of DefaultRowHeight, RowCount and RowHeights. In some frame's dfm, I saw...
Thanks for reply,
I know, an autogenerated file must be handle with care :-/ In fact, I've never had to play directly in the dfm (I swear!), it's the reason behind this post: I don't want to do it on a regular basis. The problem is there only since migration of our projects from D2010 to XE7...
Hi there,
I've built a grid control inherited from TStringGrid for which I do not want to save a specific property (since it is always determined at run-time). The property in question is RowHeights (array property inherited from TCustomGrid).
Even if I redeclared the property within my...
Yes I'm defining constants in each forms (within the interface section). In this case, I'm using messages instead of timers, for display matters.
In fact, the main form can contains 7 other child forms. Each of them are independant and the main form is there only to display header's record...
neither SET command and changing registry key change the variable's value. It seems to be changed (typing SET again will show you the new value) but it is not (closing dos window and restarting it will recover the original value).
Again, using command SET, DOESN'T CHANGE the NWUSERNAME...
Hi Roo, Thanks for help.
Actually, I'm posting to main form using PostMessage(frmMain.Handle, WM_MYSTATUS) and to child form using PostMessage(gridChild.Handle, WM_MYDATA). Each unit are independant: messages are sent to the handle of form/control and intercepted in each context.
According to...
Hi Glen, Thanks for reply.
The work of the main form is to display general status of a record (something like a msgbox 'Sorry Mr.Pink, the file you are accessing is read-only: currently in the office of Mr.Blue').
But I want the setup of the child form to be ok (that is, all controls...
Hi all,
Using D2007 under XPSP3.
Is there a way to execute a kind of ProcessMessages method to a specific thread?
Here is my problem:
1. From a main form, I post a message to display the status of a record.
2. Before the message to be intercepted, the main form loads another form (which...
If attempt to load the file fails, then the problem is probably within the dfm file (not pas file). Edit your file in notepad and check out properties initial settings.
Good luck!
Rej Cloutier
Hi,
For myself, I'm using environment variable to get the novell login (which is used for user's identification instead of another user/password dialog box),
sLogin := StrUpper(PChar(GetEnvironmentVariable('NWUSERNAME')));
BTW, I'm still using D2007...
Hope this helps,
Rej Cloutier
Game Over.
After 2 months of communication between CodeGear peoples (Product Line Sales Manager / Delphi Product Manager), they admit "that IDE does have problems", but refuse to fix them. They explain "you are the only customer out of our entire customer base that is showing problem. No one...
Well, errors during initial loading never happened for me. And yes, while we are working, we ignore errors raised by the IDE since the program compiles: it's sad but it works...
The most buggy problem is the navigation through code: one day IDE points to the right position (in the same unit...
CodeGear™ Delphi® 2007 for Win32® R2 Version 11.0.2902.10471
December 2007 Update
May 08 help Update
[Check For Updates] : No CodeGear RAD Studio updates available.
But (as I don't trust anymore messages from the product), I downloaded individually all files available and installed them. By...
Hi all,
Is anybody experiencing intermittent problems using RAD Studio 2007 IDE?
Something like IDE access violation, code navigation problems, highlight units not found (ADODB) while they are (compilation succeded), etc.
Since few weeks I'm trying to obtain a service pack from CodeGear...
Hi all,
I'm using Delphi (via GW API) to extract messages from GroupWise.
vGWApp:=CreateOleObject('NovellGroupWareSession');
vGWLog:=vGWApp.Login;
sFind:='(MAIL) AND (BOX_TYPE=INCOMING)';
if bAllMsg then
vGWFind := vGWLog.AllMessages.Find(sFind)
else
vGWFind :=...
Maybe a DLL version problem...
(no more dll hell using .net framework ???).
Check out with Dependency Walker on faulty machine to find mismatch on dependent dll's version.
Having the complete set of DLL is one thing, but having the right version of them all is another thing...)
Hope this...
Hi all,
I read about pointers since few days and found that Delphi's objects (or class's instances) are already pointers.
Knowing that, I have simple question...
Do pointers are important when speaking objects or they are only when dealing with types or records definition)?
Is that class...
Hi all,
Is there any way to get / set a property value using a string identifier?
Something like:
oMyClass.Properties('CalcValueX') := x;
x := oMyClass.Properties('CalcValueX');
instead of:
oMyClass.CalcValueX := x;
x := oMyClass.CalcValueX;
The point is that all...
GExperts is helpful to search / replace a string in all files included in a project.
But since it scanned and modify (why?) all of these files, all accented characters was lost and replaced with a code (hardcoded strings and comments are in french), I had so much trouble to restore original...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.