16 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for tanatos.daniel

I want to determine if the mouse cursor is above a Windows Form and if so, change its color, but I'm kind of new to this and C# also. I was thinking of something like this: public Form1() { InitializeComponent(); if (Control.MousePosition.Y >= 0 && Control.MousePosition.Y <= 499 && Control.MousePosition.X …

Member Avatar for bir_924
2
6K
Member Avatar for JohnMcPherson

Hello, I am having a problem with a C cursor screen that I am developing. The screen compiles without a problem, but when I try to run the screen, it does not come up, and no error message is shown on the screen. Also, there is no file created with …

0
162
Member Avatar for nevek

Hi I have a stored procedure with a cursor which check if a field is filled in after a certain deadline. DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `controleDeadlines`() BEGIN #declaratie variabelen die nodig zijn declare cId int; declare cDeadline text; declare cUitgevoerd date; declare cOpmerking text; declare cStatus text; declare DONE …

Member Avatar for nevek
0
282
Member Avatar for seanmc23

Hello, All ... I have an HTML file which contains pages of formated text, all within a <p> tag, which has an onclick call to a jscript function. This function gets mouse cursor position at the click event, then passes this position to elementFromPoint(pos.x,pos.y) to return my element object, which …

Member Avatar for Seyferx
1
2K
Member Avatar for jkembo

I would like to move the mouse cursor from one position to another within a Jtextfield after a condition is satisfied. I do not know what to use. Thank you

Member Avatar for jkembo
0
621
Member Avatar for s0bigg

I am designing a search engine and I want to design it in a way that when user comes to the website the cursor should be already on the search bar. Right now the user needs to hit a tab or manually initiate cursor into the search bar. Any ideas …

Member Avatar for s0bigg
0
114
Member Avatar for tawboiid

I hope this hasn't been discussed before. I searched but couldn't find a thread for this. I have an input (type="text") with some default text telling the user to enter something in the box. The input tag includes an onmousedown event which runs javascript function to clear the default text …

Member Avatar for tawboiid
0
348
Member Avatar for MoZo1

It's a common problem, there are a lot of google hits, but I could found no working solution. When I leave my computer on and don't use it, and I come back, first only the cursor works, and if I right click, that freezes too. After 1-5 min it recovers …

Member Avatar for MoZo1
0
363
Member Avatar for Oliverpc

Hi there, I'am asked for a HW write a code: * read some data of unknown number of students with their grades of 4 courses from a file * calculate the gpa, honor/warning status, and course average for each course, * write them into an output file (for testing I …

Member Avatar for Oliverpc
0
189
Member Avatar for SMITA6076

[CODE]/*********************************************************************************** * * File: Customer.java * * Author: Austin Smith * * Date: 04/04/2011 * * Description: The Customer class handles all client information * such as name and address. * **********************************************************************************/ public class Customer { /*** Defaults/Constants ***/ public static final String DEFAULT_NAME = "ERROR: Invalid Name"; public static …

Member Avatar for SMITA6076
0
248
Member Avatar for leeggodfrey

Hello All, I have a very simple search cursor that is selecting from a table a list of names in order to query a database. It was working fine until I encountered a name with an apostraphe in it. O'Brien for instance. The search cursor is very basic. [CODE] inCur …

Member Avatar for leeggodfrey
0
166
Member Avatar for Vega_Knight

Hi, i want to get current position of cursor on the form. there are label to show the coordinates of cursor position. anyone can help me. i don't have idea for this. thanks Best regards.

Member Avatar for Vega_Knight
0
440
Member Avatar for poorchap

(MOUSE CURSOR) Hello I'm wondering is it possible to set a condition if the mouse cursor's position changes or moves to a certain point , then it will execute a code like drag drop. Doing it on a windows form application

Member Avatar for poorchap
0
106
Member Avatar for nssltd

You know you'd think it be the easiest thing in the WORLD to change the cursor, after all its just an image but yet again i'm having problems.I am making a web browser project I have the standard cursor( . cur file ) and when the application is navigating i …

Member Avatar for nssltd
0
128
Member Avatar for kdcorp87

i have some gif image which i converted to .cursor file and trying o use in my winfrom like that [CODE] Cursor c ; public Form1() { InitializeComponent(); } private void button2_Click(object sender, EventArgs e) { c = new Cursor("cursors\\newcursor.cur"); panel1.Cursor = c; }[/CODE] but i getting error that cursor …

Member Avatar for kvprajapati
0
149
Member Avatar for Alex_

Hey guys. I want to read from a file created by me from a specific position. But i don't know how to move the file cursor. [code=ptasm] TITLE ep1 .MODEL SMALL .STACK 10h .DATA text DB '1234567Start:7890.end',13,10 text_length equ $-text dir db 'D:\myfile.dat',00h buff db 17 dup('$') f_handle dw 1 …

Member Avatar for NotNull
-1
998

The End.