Hi I have a procuder which return a recordset using cursor in output what am trying to do is i use cursor to get the data and same have to return it to output cursor .I can do like below PROCEDURE test(value_one IN someTabel.somecolumn%TYPE, valu_two IN someTabel.somecolumn%TYPE, Outputcursor OUT SYS_REFCURSOR) IS mydeclaration goes here output_value_one sometable.somecolumn%Type; --- cursor test_select is select statement begin for val in test_select loop fetch test_select into output_value_one; -- I want my cursor outputcursor to be return instead of output_value_one end loop; end;

Member Avatar
+0 forum 0

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 any runtime messages, so I do not know what error is occuring. How do I do the xcc compile so that a runtime debug file is created, and I can see error messages? I already get compile errors and warnings when I do the compile( with the -g option), so …

Member Avatar
+0 forum 0

So I'm making a map editor with C# and XNA. I have currently got it setup so there is a windows for with a picture box, which the game is being displayed through. The problem is this, I want (0,0) to be the upper left corner of the picture box, not the game window. At the moment im trying to return the cursor position but its relative to somewhere in the upper-middle portion of the window...the X-coordinates will go negative if the cursor is in the left third of the screen, and the Y-coordinetes will go negative if the cursor …

Member Avatar
Member Avatar
+0 forum 1

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 int default FALSE; declare tempdate date; #declaratie cursor declare cursorDeadlinesIndicatoren cursor for select id,deadline,status,opmerking,uitgevoerd from deadlines_indicatoren d join indicatoren i on d.ind_id = i.IND_Id where i.Type_Uitgevoerd="datum"; DECLARE CONTINUE HANDLER FOR NOT FOUND SET DONE = TRUE; #cursor starten OPEN cursorDeadlinesIndicatoren; read_loop: loop fetch cursorDeadlinesIndicatoren into cId,cDeadline,cStatus,cOpmerking,cUitgevoerd; IF DONE THEN leave …

Member Avatar
Member Avatar
+0 forum 2

This snippet defines a function [icode]mousepos()[/icode] which gets the mouse position on the screen. The package python-xlib is required.

Member Avatar
Member Avatar
+1 forum 7

Say I have this definition: #define SIZE 2000 typedef enum { TRUE, FALSE }Boolean; typedef struct{ char jobTitle[30]; char jobDesc[255]; char jobLoc[255]; float salaryMin; float salaryMax; Boolean isAvailable; }jobInfo; typedef struct cursorNode{ jobInfo jobRec; int next; }HeapSpace[SIZE]; typedef struct hnode{ HeapSpace heap; int Avail; }*VHeap; typedef int List; typedef struct{ List availJob; List notAvailJob }dualList; Let's say my function data type would be this: dualList ConvertOld2NewList(VHeap *VH, List *L) { return L; /*not sure about this since I will be converting this single list to a dual list*/ } I was asked to write the code of function ConvertOld2NewList. Given …

Member Avatar
+0 forum 0

Does anyone know of an easy way to have an image switch to another image when the cursor hovers over a completely separate image? [Here](http://lonnyfoster.com/temp/daniweb/replace_image.png) is a diagram that hopefully illustrates more clearly what I'm trying to say.

Member Avatar
Member Avatar
+0 forum 7

#include <time.h> #include <math.h> #include <stdio.h> #include <conio.h> #include <string.h> #include <stdlib.h> #define ROW 9 #define COL 9 int printboard(int grid[ROW][COL]){ int x,y,n,chk; srand(time(NULL)); for(x=0;x<ROW;x++){ for(y=0;y<COL;y++){ do{ n=rand()%7+2; grid[x][y]=n; if (((grid[x][y]==grid[x-1][y]) && (grid[x][y]==grid[x-2][y])) || ((grid[x][y]==grid[x][y-1]) && (grid[x][y]==grid[x][y-2]))){ chk=1; continue; }else{ chk=0; printf("%d ", n); } }while(chk==1); } printf("\n\n"); } } int welcome(char name[20]){ printf("********************WELCOME********************\n"); printf("*****************NUMBER CRUSH******************\n\n"); printf("Please key in your name:"); scanf("%s",name); printf("***Good day %s,let's start a new game...all the best!!!***\n\n\n", name); fflush(stdin); return 0; } int menu(c){ int choose; do{ printf("*MENU\n"); printf("*Press 2 to move down\n"); printf("*Press 4 to move left\n"); printf("*Press 6 to move right\n"); printf("*Press 8 to …

Member Avatar
Member Avatar
+0 forum 4

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 >= 0 && Control.MousePosition.X <= 297) this.BackColor = Control.DefaultForeColor; } but it does not work. Can anyone give me a hand? Thanks.

Member Avatar
Member Avatar
+0 forum 7

Hi, I am tring to make a custom cursor in pygame and I would like to use a XBM file to do so. I am wondering if somebody could please give me an example on how to create a XBM cursor, how to load it into pygame, and how to set it as your current cursor. Thanks.

Member Avatar
+0 forum 0

I have created a custom combo box(Text box, button and List View). While typing in the text box, cursor disappears. How can I disable "Hiding cursor while typing" in my application. I goggled and found that it is the system behavior called SPI_SETMOUSEVANISH. It can be turned off but it will affect applications. How can I turn-off this only in my custom control?

Member Avatar
Member Avatar
+0 forum 2

Hi guys, I need some help with a particular part of a C++ DirectX game. My course has tasked me with creating a game similar in look and function to the old missile command arcade game (something like [this](http://www.youtube.com/watch?v=t-cD0XdyQ7s)), however I have hit a bit of a wall in terms of getting the missile to fire in the direction I want it to. I'll preface this by saying I am more of a designer than a mathmatician/programmer... but I would like to improve my design skills by getting an understanding of what happens from a programming standpoint in order to …

Member Avatar
Member Avatar
+0 forum 1

What is cursor in SQL and when to use

Member Avatar
Member Avatar
+0 forum 2

I cannot click on most links the regular way since my kids played games on my computer. I can right click and hit open. When I click on most links, nothing but a muted beep sound happens. I went to TOOL: Internet Options: Advanced: Restore Advanced Settings, didn't work. Windows XP and IE. Thanks!

Member Avatar
Member Avatar
+0 forum 1

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 I then highlight. I did this using this method because it seemed to work best with my nested elements (always <span>) - sometimes nested 15-20 layers deep. This enables me to easily view the level of nesting, and start and end of this block of clicked text, which can sometimes …

Member Avatar
Member Avatar
+1 forum 2

Dear Everyone, I have a functional instant search (in draft at [Click Here](http://www.woofwoofwoof.org/is08/search.htm)). I want the search to function very similarly to Google. This will help sighted people figure it out, and bring me much more in compliance with accessibility standards. Unfortunately, I'm missing two "Google-oid" features: . 1) **How do I get the arrow keys to move the focus up and down?** In Google, **up and down arrows** allow you to move from inside the input box all the way down to the last choice (without recycling); I already have the **enter keydown** making the executive the link in …

Member Avatar
Member Avatar
+0 forum 1

Hello everyone. I am making a game trainer in vb.net. and want to know how to write a "TEXT" wherever your cursor is. I have already found shortkey mechanism but still looking for this one. Example: I am playing game. I pressed Shift+f3 and no matter which windows is focused or where my cursor is it write "Nutter Tools"(gamecode).

Member Avatar
Member Avatar
+0 forum 2

Hi, Needs to construct the tables with the meta info retrived by another stored procedure I wrote, given the table id or name. There could be some flaws in the logic, not sure. The flow is - - iterate through one table which stores tbl name, id info - pass above info to sp which would return meta info to calling cursor as result set - store this result set into temp tbl so that another cursor can iterate through them, to construct "create table query" as a string - end inner cursor - execute the concatenated string query - …

Member Avatar
Member Avatar
+1 forum 13

How is this 'text-cursor' called or what is its name ? : [Click Here](http://i41.tinypic.com/5cxavp.png) Everytime when you click in a text box or somewhere when you can type, you get this 'flashing bar' in the very left corner of the line. How is this called ? Also can you have more than two 'bars' in different places at the same time ?

Member Avatar
Member Avatar
+0 forum 2

I am using getRow() method of ResultSet class like: int rowCount = result.getRow(); but when i run the application, it gives me the exception that says: *The 'getRow()' method is only allowed on scroll cursors.* Please, anyone, who knows why it happened, explain it with some possible solutions Thanks!

Member Avatar
Member Avatar
+0 forum 1

Hello. I received great help from this community a while back with a problem, and now I'm desperately in need of help again. I've done several google searches, and I've found my problem listed, but none of the solutions have worked. I hope this in the right forum, as I'm not sure what the problem is-hardware or software. Here's what's happening: I was online, and all of a sudden, my computer began the shutdown sequence to my great surprise. When I tried to start it up again, it would flash the "Dell" logo, give me the options of F2 and …

Member Avatar
Member Avatar
+0 forum 3

hey... I wat to change the... well, the cursor (the little blinking thing in a text area where subsequent typing appears) in a JTextArea. [U]Not[/U] the pointer (the mouse icon showing where on the screen the mouse is cuz some ppl thought that was wat I meant) but the cursor in a JTextArea. Not sure if that last part changes the answer, but just in case, there it is!

Member Avatar
Member Avatar
+0 forum 8

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
Member Avatar
+0 forum 4

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 how I can do that?

Member Avatar
Member Avatar
+0 forum 3

Color custom cursor appears to be black when I run the program. The color custom cursor is imported from desktop by using Resources in vb.net. When I run the program the cursor turns out to be black. HOW DO I FIX IT? [CODE]Dim ms As New System.IO.MemoryStream(My.Resources.Cursor1) Button1.Cursor = New Cursor(ms)[/CODE]

Member Avatar
Member Avatar
+0 forum 2

Hello everyone! I need to make a simple yet cool program for my professor. The program is this: To get the program to work, the user first presses a button on the form. Then, when the user presses an up arrow on the keyboard, the cursor will change to a custom cursor (a cursor with an image of car {in .ico format} for example), when the user releases the up arrow key, the cursor turns back to default cursor -- which is arrow. When the user presses an up arrow and left arrow at the same time on the keyboard, …

Member Avatar
Member Avatar
+0 forum 15

Hi all, I wrote this somewhat simple script that is suppose to change and update polygon GRIDCODES based some rules. The shapefile is reclassified into likelihood of conversion. So the code is set up to get the GRIDCODE value of all adjacent polygons to the cursor polygon. I put these in a list, sort the codes, and assign a variable to the largest value. I then count the number of times this large variable occurs. If it occurred 4 or more times AND the large value is greater than the cursor gridcode, I want to update the cursor to the …

Member Avatar
Member Avatar
+0 forum 1

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 so the user can start entering their own text. This setup behaves in two possible ways, one is good and one is bad: Good: If the user clicks inside the text box, but after the default text, the text gets cleared and the cursor shows up at the beginning of …

Member Avatar
Member Avatar
+0 forum 9

Hi, In the past few months I've been learning how to make applications for android by making small games just for the fun of it. I am stuck at the moment at the database object I created to manage the database, specifically the cursor: it won't close. A snippet of my code: [CODE] public class DatabaseManager extends Activity { // the Activity or Application that is creating an object from this class. Context context; // a reference to the database used by this application/object private SQLiteDatabase db; /********************************************************************** * RETRIEVING A ROW FROM THE DATABASE TABLE * * This is …

Member Avatar
Member Avatar
+0 forum 1

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 by itself. I disabled all power saving stuff, standby mode, hibernate, everything in task scheduler, and nothing yet worked. Please if anybody found something that is working, share it here! Thanks!

Member Avatar
Member Avatar
+0 forum 13

The End.