Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Small questions on Table component and Help window


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-11-2008, 05:22 PM
Junior Member
 
Join Date: Aug 2007
Posts: 25
Question Small questions on Table component and Help window

hello,
_1_____TABLE_______
Is there any scroll to caret for Table component ? or any near way to do it ?

_2_____TABLE________
The "addrow" seems to refuse argument variable as parameters like :
table2.addrow( 11 ,22 ,33) 'which add correctly each value in each cell

but if i would use any parameter variable like :
var1 = 11
folk = var1 & "," & 22 & "," & 33
table2.addrow(folk) '==> all arrived in the first cell !

I'm obliged to use a cell by cell function. Is there an other way ?

_3_____help window_______
Anybody could do something to forbidde the crazzy go-hidden below current windows (with a twice click action) of the small help result window ! Keeping it in front as the master help-window could be great !

_4____ Hopes
In the designer form window, near the name, a small box given the component "TYPE"
will be very interresting. I know few space on the poquet, but maybe.....

thanks for help
Reply With Quote
  #2 (permalink)  
Old 04-11-2008, 05:43 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,466
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

1) Try setting the SelectCell property. I think this might bring the cell into view but I don't have time to try it (my turn to cook this evening ).

2) You are effectively passing only one parameter - a string. Use "table2.addrow(var1, 22, 33) "

3) Sorry, I don't understand - which Help window are you referring to and are we on the desktop or device and are we in the IDE or runnig an app

4) Erel's job
Reply With Quote
  #3 (permalink)  
Old 04-11-2008, 09:28 PM
Junior Member
 
Join Date: Aug 2007
Posts: 25
Question Ok I try to be more synthetic

1___scroll to caret on TABLE = > all i try => nothing run

2___ addrow() does not accept variable :
addrow( 11, 22 ) ==> affect (in one shot) first cell with 11 and second cell with 22 ==> Right
BUT
var_sun = 11 & "," & 22
addrow( var_sun ) does not run ==> it affect "11,12" to the first cell !!!

Is there a work around 'one shot' (other than cell to cell functions) to solve it ?

3___"Help" answer window
on bp4 standard window, for example :
click help / main help ==> "Help" window comes
click controls / table ==> right half-window "Table" comes
on the rigt half window : click once a selected hyperlink choice
==> the small answer window appears
<< BUT >>
DOUBLE click on the same selected hyperlink choice
==> the windows go rear, is hidden !!! WHY ??

The main help window run always in front ....
the answer could be the same. No?

Could be change this....please...

Thanks for your fast answers
Reply With Quote
  #4 (permalink)  
Old 04-11-2008, 10:40 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 529
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

Sorry I don't understand your 1st point?

Concerning point 2, use simply

Table2.addrow(var1,va2r,var3...)

You should not inset the commas.
In your example there is only ONE variable and it is put into the 1st cell.

Point 3
If I understood well, it's the secondary Help window when clicking on Properties or Methods in the Main Help window, it's up to Erel.

Best regards
__________________
Klaus
Switzerland

Last edited by klaus : 04-11-2008 at 10:45 PM.
Reply With Quote
  #5 (permalink)  
Old 04-12-2008, 12:07 AM
Junior Member
 
Join Date: Aug 2007
Posts: 25
Exclamation Right for Addrow, but 'Table focus' is a problem

Thanks to Agraham and Klaus
As you know, in Textbox we have a scrolltocaret function to focus on the LAST lines. Each line you add you can focus on END of text
So I would do the same process with the Table component.
Actually each Table modify goes the table focus on Table top. It's usefull to see the END of table .
Any idea ?
Reply With Quote
  #6 (permalink)  
Old 04-12-2008, 05:49 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,956
Default

1. The only way to do it is by selecting the last row:
Code:
table1.SelectCell(table1.ColName(0),table1.RowCount-1)
2. This is not possible. The code is only parsed once (during compilation) and the parser can't know the value of each variable.
3 & 4. I will check these issues.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions on Table component dan kabestan Questions & Help Needed 6 06-26-2008 08:40 AM
Name of MIO Window HARRY Chit Chat 1 01-10-2008 05:34 PM
Error loading SQL Component conniemalan Questions & Help Needed 1 07-27-2007 08:29 AM
Questions: Table overheads & Addtable()? LineCutter Questions & Help Needed 3 06-02-2007 02:10 PM
Small messagebox bug (?) BjornF Bug Reports 2 05-24-2007 11:35 AM


All times are GMT. The time now is 08:51 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0