Sure, just swallow the left click event. See the CVI help for a discussion of swallowing events. Basically, you would just catch the left click event in a callback on the textbox or numeric and return a positive number. For example,
int CVICALLBACK TextCB (int panel, int control, int event,
void *callbackData, int eventData1, int eventData2)
{
switch (event)
{
case EVENT_LEFT_CLICK:
return 1;
break;
}
return 0;
}
This will abort the normal processing of the left click, so the control will not get the focus and their can be no selecting.
Best Regards,
Chris Matthews
National Instruments