Problems with DCBROWSE and pointer

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
digitsoft
Posts: 461
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Problems with DCBROWSE and pointer

#1 Post by digitsoft »

Problems with DCBROWSE
Hello Roger
In dcbrowse as I can indicate that it is placed in the last record that I enter in the dcbrowse

So that every time I enter a record in a dcbrowse is placed in the registry that I enter the dcbrowse

Example:
I have this data in a dcbrowse and the * is the cursor
   A
B
  D
  F

If you enter dcbrowse the letter C you see the pointer in the letter C
   A
   B
   D
* C
F


  
Nolberto Paulino
Regards

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Problems with DCBROWSE and pointer

#2 Post by rdonnay »

I am totally confused about what you are asking me.

Do you have a small sample program that demonstrates your problem?
The eXpress train is coming - and it has more cars.

User avatar
digitsoft
Posts: 461
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: Problems with DCBROWSE and pointer

#3 Post by digitsoft »

Roger if you enter a record in a database that is in a dcbrowse, the oBrowDettings: refreshAll () the cursor in the first row
And I want the cursor in the registry that enters the dcbrowse at that moment
rdonnay wrote:I am totally confused about what you are asking me.

Do you have a small sample program that demonstrates your problem?
Nolberto Paulino
Regards

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Problems with DCBROWSE and pointer

#4 Post by rdonnay »

No matter how many times I read what you are asking, I cannot understand it.

Maybe someone else on this forum can understand you better than I.
The eXpress train is coming - and it has more cars.

reganc
Posts: 259
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: Problems with DCBROWSE and pointer

#5 Post by reganc »

Nolberto

Are you saying...

You are browsing a database
A record is added (It's not clear if you added the record or it was added on some other computer)
So you do a refreshall()
And the browse highlight is still at the top of the browse.
But you want it to be moved to the line that has just been added.

Is that correct?
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

User avatar
digitsoft
Posts: 461
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: Problems with DCBROWSE and pointer

#6 Post by digitsoft »

Hello Roger
The problem is known as browseup, and is that every time I use refreshAll () is positioned at the beginning of the dcbrowse
Nolberto Paulino
Regards

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Problems with DCBROWSE and pointer

#7 Post by rdonnay »

The problem is known as browseup, and is that every time I use refreshAll () is positioned at the beginning of the dcbrowse
RefreshAll() does not change the browse pointer.
There is something else in your code that is positioning it to the top of the browse.
This is why I need to see sample code.
The eXpress train is coming - and it has more cars.

User avatar
digitsoft
Posts: 461
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: Problems with DCBROWSE and pointer

#8 Post by digitsoft »

Hello Roger
The problem is that the value of Rowpos does not calculate well, I am using sqlexpress

rdonnay wrote:
The problem is known as browseup, and is that every time I use refreshAll () is positioned at the beginning of the dcbrowse
RefreshAll() does not change the browse pointer.
There is something else in your code that is positioning it to the top of the browse.
This is why I need to see sample code.
Attachments
Rowpos.jpg
Rowpos.jpg (388.06 KiB) Viewed 17370 times
Nolberto Paulino
Regards

Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Re: Problems with DCBROWSE and pointer

#9 Post by Cliff Wiernik »

This is what I use on a browse to get the row pointer to the end of the current screen. It uses the keystrokes that does this.

PostAppEvent(xbeP_keyboard,xbeK_CTRL_PGDN,,d_oCommentbrowse)

Post Reply