|
I have a TDBEdit that is not enabled and thus not showing the Hint.
What would be the best way to have it display the Hint while staying disabled?
Started by François on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Drop your disabled TWinControl (TDBEdit is a TWinControl) onto an enabled TWinControl container (a TPanel for example) and set the TPanel hint.
ShowHint set to True and a Hint property set.
|
|
Hi,
See this screenshot, in the middle it's the small hint windows that are generated by a TVirtualStringTree control and were left out on the screen, these hint windows will remain there until the application exits. the problem happens when the treeview...
Started by Edwin on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Should create your own hint window class (inherit from TVirtualTreeHintWindow) which instance you can.
|
|
Are hints really necessary for every sql statement? We have a dba who is anal about it and asks us to put hints on every select and update statements in our stored procs. Is this really necessary?
Started by Satish on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
That join_hint, query_hint, and table_hint be used only as a last resort by experienced developers plan for a query, we recommend that join hint , query hint , and table hint be used only as a last DBA's demanding....
|
Ask your Facebook Friends
|
When doing socket programming, people always name the addrinfo struct like this:
struct addrinfo hints; // get ready to connect status = getaddrinfo("www.example.net", "3490", &hints, &servinfo);
I'd like to know what it stands for for better understanding...
Started by Ricky on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
From http://linux.die.net/man/3/getaddrinfo
The hints parameter specifies the preferred socket type, or protocol....
The struct itself is defined in a library and included via sys/socket.h .
Struct addrinfo hints; is just a variable declaration.
|
|
Say I have a table in a SQL 2005 database with 2,000,000+ records and a few indexes. What advantage is there to using index hints in my queries? Are there ever disadvantages to using index hints in queries?
Started by Duffy on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
My SQL Server did not use the optimal ....
In that case you provide the index hint telling the database engine which index to use.
The index hint will only come into play where.
They sometimes can affect performance negatively.
Databases.
|
|
I want a TPageControl and some TTabSheets, with 'per tabsheet' tooltip hints visible as I hover over each tab in turn.
Is there any way of getting this effect in Delphi 2009?
Started by Roddy on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Then ....
I am not sure how to make it change the hint based tab the mouse is hovering over.
1 - fill in the .Hint property, and set the .ShowHint property to True for the PageControl that, the hint will be whatever the active tab is.
|
|
In Delphi, you can use compiler directives to disable specific warnings, such as
{$WARN USE_BEFORE_DEF OFF}
But when I tried to do that with a specific hint, whose underscore_style_name I got out of the helpfile, the compiler said it doesn't know what...
Started by Mason Wheeler on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
No specific hints....
Best I can think of is to surround the subject of the hint with a conditional define, and use will get: Hint: variable "i" is declared but never used
So try this instead:
procedure MyProc never get a hint.
|
|
In CodeGear Delphi 2007, how can I turn specific warnings and hints off? I am attempting to turn off H2077 - Value assigned to 'varname' never used.
Started by Dustin Venegas on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
For instance, when you see the hint "Value assigned.
Why don't you instead change the code so the hint goes away potential adverse affects on your runtime code.
Warnings? Yes.
Hints? No specific .
|
|
I am an advocate of ORM-solutions and from time to time I am giving a workshop about Hibernate.
When talking about framework-generated SQL, people usually start talking about how they need to be able to use "hints", and this is supposedly not possible...
Started by jbandi on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
In practice it's fairly to hint a query than this might be the....
If you control the SQL you can hint queries.
Unless you really know what you are doing, don't use them control the application .
A HINT will result in a poor query plan.
|
|
Is there some way to tell sql server to use the (nolock) hint or every select in a stored procedure?
is pretty tiresome to add it to each an every select....
thanks a lot
Answer Snippets (Read the full thread at stackoverflow):
The WITH(NOLOCK) table hint is equivalent to setting://stackoverflow.com/questions/64208/how-to-force-nolock-hint-for-sql-server-logins
seems like.
This by looking at the NOLOCK table hint located here .
|