Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Share Your Creations
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.


CalcTable1.0


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 05-15-2008, 08:28 AM
Senior Member
 
Join Date: May 2007
Posts: 126
Default update on CalcTable1.0

As Erel and Klaus commented, I have updated the following:

[The files were updated at the beginning of this thread]

-images were imbeded on exe.files
-less one mouse click during input, mouse click on table will focus the textbox and cursor to end of content.
-image buttons were improved(not stretched).
-fixed bugs on condition input(sample2.ct1 also adjusted)
-improved handling of exiting the application.

Please try again, and let me know. Any other comments are welcome
Thank you very much.
__________________
Rioven

O2 Atom life 624MHz, 1GB Internal ROM, WM6(upgraded)
Reply With Quote
  #12 (permalink)  
Old 05-28-2008, 07:03 AM
klaus's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: Switzerland
Posts: 393
Awards Showcase
Competition Winner 
Total Awards: 1
Default

Hi Rioven,

At last I have taken time to look at you updated version. I was abroad during 10 days and during the last days I did some other stuff.

In trying it, I many times forgot to click on the check button, probabIy Excel habits. I added one line in the TextBox1_LostFocus routine that valdates the entry directly when clicking on another cell in the table.

Code:
Sub textbox1_lostfocus
  If srow<>-1 AND scol<>-1 AND Control("col"&Scol,arraylist).count<>0 Then 'only functions on Desktop
'    Control("col"&Scol,arraylist).item(Srow)=textbox1.Text
'    table1.Cell(table1.ColName(Scol),Srow)=textbox1.Text
    imgm.Visible=false
    imgn.Visible=false	
  End If
  CheckT1_Click
  Sip=false
End Sub
What is he hidden TextBox2 for ? I suspect that it is to get the LostFocus and Focus for TextBox1 work properly.

On top for the filename, I would display only the filename without the path, with long pathnames the field could become too short.
Perhaps another thought, replace the label for the filename by a ComboBox, if the user makes related calculations with different files, he could add the filenames in the ComboBox and then get a quicker access to load them.

For me, to make reading easier, I prefer having upper case characters in long names, like FixTableWidth instead of fixtablewidth. But this is one cosmetic opinion.

I have joined the updated version.

Good job !

Best regards.
Attached Files
File Type: sbp calctable1.2.sbp (48.5 KB, 5 views)
__________________
Klaus
Switzerland
Reply With Quote
  #13 (permalink)  
Old 05-28-2008, 04:37 PM
Senior Member
 
Join Date: May 2007
Posts: 126
Default CalcTable1.2desktop

Hi Klaus,
I thank you again for your time.
The problem I have is that particular sub 'textbox1_lostfocus', it works only on desktop. As you can see on my [remarks] on that sub. This is why I have created the hidden textbox2 to make it worked on device. I don't know what are better solutions.
I have taken your additional code line and for desktop inputing could be lot easier using one of door library features that you could type directly on cells.

I agree on your suggestions and probably implemented on my future updates.

I have attached the CalcTable1.2desktop version for easier coding of formula on desktop also another sample conversion I've put together.

Thank you and best regards,
Attached Files
File Type: sbp calctable1.2desk.sbp (48.9 KB, 4 views)
File Type: zip conversion01.zip (1.2 KB, 4 views)
__________________
Rioven

O2 Atom life 624MHz, 1GB Internal ROM, WM6(upgraded)
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


All times are GMT. The time now is 09:54 AM.


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