List of Contributions

Sancarn .

This individual is no longer active. Application functionality related to this individual is limited.

Contact Details

My Content

1 to 17 of 17 total
Posted By Sancarn . 05-22-2018 08:33
Found In Egroup: MapInfo Pro
\ view thread
Good point. I forgot the PDF documents have a list... Well, it sounds like there is plenty to look forward to!
Posted By Sancarn . 05-22-2018 08:18
Found In Egroup: MapInfo Pro
\ view thread
Gosh! What else have I missed? 😅 Makes me think actually, itd be nice if there was 1 location where you could go to find all implemented and upcoming MapBasic features. Also, in that article it says: Because the IIf() function can return any type... Does this mean we finally have a variant datatype ...
Posted By Sancarn . 05-21-2018 11:23
Found In Egroup: MapInfo Pro
\ view thread
Fantastic! A long awaited feature (at least for me)! As for what Id use this for, there are a myriad of things which are nigh on impossible in the mapbasic window e.g. find-and-replace functions, even an iff(condition,valueIfTrue,valueIfFalse) function., also logToFile() could be very helpful in large ...
Posted By Sancarn . 02-11-2018 16:17
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi Martin, I am uncertain how to do this officially, but typically Id use the LB_SETSEL win32 message if youre using a list box: https://msdn.microsoft.com/en-gb/library/ms909693.aspx . If youre using a list view Id use the LVM_SETITEMSTATE  message instead: https://msdn.microsoft.com/en-us/libra ...
Posted By Sancarn . 01-10-2018 19:27
Found In Egroup: MapInfo Pro
\ view thread
Oh it does? Didnt know that, Is there a list of MapInfo types somewhere other than the MapBasic reference? I did look in the reference initially and didnt see LargeInt. Did see IntPtr is 64-bit in 64-bit though, so that helps. I also started writing MapInfo-BLOB. Its on Github :) Hopefully others ...
Posted By Sancarn . 01-03-2018 20:20
Found In Egroup: MapInfo Pro
\ view thread
Indeed, today I briefly looked at how I could implement it myself with MapBasic. It doesnt look like it would be too difficult. Id need to implement the 64-bit integer data type in MapBasic (to store the size of a file (otherwise Id have the same issue as 2GB limit of TAB files)), but thats not too hard ...
Posted By Sancarn . 01-03-2018 10:13
Found In Egroup: MapInfo Pro
\ view thread
At work, often our MapInfo tables link to files in other locations using relative file paths. This is great, but requires users to use a fixed folder structure and essentially makes tables static without the file system behind it. Ideally users would be able to store their files within a MapInfo table, ...
Posted By Sancarn . 12-22-2017 13:00
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi all, came across this issue recently. The code:   Objects Clean From Selection Overlap   prioritises the bigger object. Quoting from the reference:   The portion of the overlap will be removed from all overlapping regions except the one with the largest area.   Is there an ...
Posted By Sancarn . 11-27-2017 12:03
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Never mind, of course it doesnt stop us working on an OS IDE, just limits the ease of distribution. Thanks for all the detailed responses though :)
Posted By Sancarn . 11-26-2017 20:10
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi Bob, thanks for replying (and on a weekend of all things!). In general its good to hear that MapBasic isnt being dropped, though i do find the lacking of certain features (e.g. classes, structs, pointers) frustrating at times. I have actually found it quite unfortunate on several occasions ...
Posted By Sancarn . 11-23-2017 22:01
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi all, Recently Ive been working with a lot of programming languages which are undergoing continual development (e.g. Ruby, JavaScript, C#.NET,...). This actually makes programming in these languages, not only easier, but more fun also. Recently I had to go back and fix some old MapBasic code ...
Posted By Sancarn . 11-08-2017 07:07
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hmm yeah. That actually sounds like a really good idea! Itd at least bring a more object oriented feel to MapBasic. Currently the system is pretty old school, like the win32 api :P Seeing this implementation would definitely simplify everything a great deal :)
Posted By Sancarn . 10-28-2017 15:46
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Hi All, Last year I started working on a wrapper for @Peter Horsbøll Møller?s RIBBONLib. These days I barely use MapBasic, but I know the library will be useful to someone who is just getting to grips with the ribbon interface! You can find the library here: https://github.com/sancarn/MapBa ...
Posted By Sancarn . 10-28-2017 15:46
Found In Library: MapInfo Pro Developers User Group
Posted By Sancarn . 10-24-2017 12:42
Found In Egroup: MapInfo Pro Developers User Group
\ view thread
Thanks Bob! This is really neat. It really might have been one of my queries! This will be really handy in general. I wonder what other hidden undocumented gems there are like these in MapBasic!
Posted By Sancarn . 09-03-2017 04:54
Found In Egroup: MapInfo Pro
\ view thread
@Labied Abdul-Aziz FYI there is a tool native to 64 bit MapBasic application written by Pitney bowes which allows you to customise keyboard shortcuts yourself which would give you all the keyboard shortcuts you desire :)
Posted By Sancarn . 08-21-2017 04:24
Found In Egroup: MapInfo Pro
\ view thread
Not really a mapinfo shortcut but I mapped the following code to ctrl+t https://pastebin.com/kr7BFQzr The script opens up a topographic index layer I created, and then opens the respective (Ordinance Survey) topographic tile to where my mouse is hovering over... I use it all the time, as its quite ...