hint

How does including a SQL index hint affect query performance?

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? ...

opendialog.onhint crash

I have checked 100% I am closing all handles on a file I recently created. But when I call "opendialog.execute;" the dialog pop up as usual but on the mouse over hint of a recently created file the entire thing crashes with a out of bounds error. I know this is not any of my out of bounds as if I open the file without causing a (onhint)...

is there a way to disable the hint for a TOpenDialog in delphi

i have a TOpenDialog component i am creating on runtime and i want to disable the hint that pops up over files when it is used. i have not written any exrta code for this than creating the object, executing the object and extracting the filename,, then freeing the instance. can i do what i want to do? if so how do i do this ...

Glassfish Eclipselink join-fetch hint not working

I'm having real difficulty getting the eclipselink.join-fetch hint to work in glassfish. I have a Client object that contains a collection of Task objects and the Task object has a collection of WorkPeriod objects. My code looks like this: Query query = entityManager.createQuery("select client from Client client left join fetch client...

PHPDoc type hinting for array of objects?

So, in PHPDoc one can specify @var above the member variable declaration to hint at its type. Then an IDE, for ex. PHPEd, will know what type of object it's working with and will be able to provide a code insight for that variable. <?php class Test { /** @var SomeObj */ private $someObjInstance; } ?> This works great unt...

Do table hints in the view definition affect the view?

hi We know that we can use table hints when selecting records in our own queries. my question is: when we create a view and use table hints such as "Nolock", "Holdlock", etc ... and then save the view in SQL server, does the table hint we used affect the view? ...

Java JTextField with input hint

I would like to add a hint value to my JTextField. It should look like Firefox rendering of <input type="text" title="bla">. This creates a edit field with the text 'bla' in the background. If the textbox has focus the title-text disappeares and just reappears if the user leaves the editbox without text. Is there a (free) swing componen...

How to show hint for a disabled TDBEdit?

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? ...

NetBeans / Java / New hint: Thread.sleep called in loop

In NetBeans, there's a new hint that says: Thread.sleep called in loop. Question 1: How/when can it be a problem to sleep in a loop? Question 2: If it's a problem, what should I do instead? UPDATE: Question 3: Here's some code. Tell me in this case if I should be using something else instead of Thread.Sleep in a loop. In short, this i...

Delphi: How make my own Hint Window?

Hi! D6 Prof. We have a special application with a special grid. It have a HintWindow what can show other informations that cannot place in cells. For example long memos. When you move the mouse to a cell, it is waiting for 2 sec, and show the informations. The problem of this theme that HintWindow is not working properly, or in same w...

EditText hint doesn't show

My EditText configured as follows won't show the hint: <EditText android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="right" android:hint="The hint..." android:scrollHorizontally="true" android:singleLine="true" /> It works if I set android:gravity="left" or if I remove ...

Hint in Android

Hi all, I tried to show a hint in the EditText of my form, but i can't see that hint that i have set in the XML Layout while my application gets deployed, but i can able see the hint in eclipse designer view, but while getting deployed the same hint suppose to appear is missing, i tried with all the possible ways still i could no...

C++ 2010 builder show hint all time

How to in c++ 2010 builder show hint all the time when is code write? For example if I try to use command MessageBox, I start to type message and press control+space, that will be show up list of functions which have first letter same, and after that I press enter on which function I like and that give me a yellow hint, everything is ok ...