SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-12-2009, 11:28 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Strange chaning of elements inside grouping

Okay so I have an app with groups. When selecting a group I pass that subgroup to the next menu and then group that subgroup. This all works fine but on that next screen (the subgroup regrouped) I call first elements of the new grouping (GetElement(GetSubgroup,group,element),0) in this case it is a showtitle. Everything shows and displays correctly but while scrolling the table occasion the elements inside the group shift/move as the first element will change to.

Is there any way to prevent this? Has anyone seen this before?
Reply With Quote
  #2  
Old 08-12-2009, 11:49 AM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Hard to say for sure from your description, but my guess is that different parts of your code are unintentionally using the same variable names for different purposes and stepping on each other's values.
__________________
-- Greg
Reply With Quote
  #3  
Old 08-12-2009, 11:51 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by GKusnick View Post
Hard to say for sure from your description, but my guess is that different parts of your code are unintentionally using the same variable names for different purposes and stepping on each other's values.
I do use first element on each grouping with the changes to the grouping would that matter even if it is not the table currently being read?
Reply With Quote
  #4  
Old 08-12-2009, 12:07 PM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Here is problably a better example

Group1 = GroupByMethod(files,"groupingmethod")
feeds into a table

if item on that table is selected then
newgroup =Getsubgroup(files,tableelement)
tablevariable = table2
refresh()

table 2 =

files2 = newgroup
files2 = GroupByMethod(files2,"groupingmethod")
feeds into table

within the table I call a variable firstelement which = GetElement(Getsubgroup(files2,tableelement),0)

It is the first element that is changing randomly telling me the elements within the grouping of files two are moving around.



hopefully that explains it better
Reply With Quote
Reply


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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No signal after chaning channels orrd SageTV Software 3 11-22-2007 05:23 PM
6.2 QAM and UIRT both chaning channels sting7777 SageTV Software 7 09-25-2007 10:25 PM
Channel Chaning with 1394 pat_smith1969 Hardware Support 7 07-29-2007 11:42 AM
chaning channels on a RCA DirecTv receiver yanksno1 General Discussion 1 12-19-2003 09:18 PM


All times are GMT -6. The time now is 02:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.